Switch to premake4 for compat
FossilOrigin-Name: 7f62c6520aa3a5e3e959cd68229459d6126c84153a9b131f2d406fa75e77baa7
This commit is contained in:
parent
e95a6ae246
commit
aa44b9cc3f
2 changed files with 8 additions and 8 deletions
|
@ -5,5 +5,5 @@ docs/html/
|
|||
docs/latex/
|
||||
build/
|
||||
obj/
|
||||
Mastodont.make
|
||||
mastodont.make
|
||||
Makefile
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
workspace("Mastodont");
|
||||
solution "mastodont-c"
|
||||
configurations { "Debug", "Release" };
|
||||
|
||||
-- BEGIN Mastodont project
|
||||
project("Mastodont");
|
||||
project("mastodont");
|
||||
kind("StaticLib");
|
||||
language("C");
|
||||
files { "include/*.h", "src/*.c" };
|
||||
includedirs { "include/" };
|
||||
|
||||
filter { "system:linux or bsd or macosx", "action:gmake" }
|
||||
configuration { "linux", "bsd", "gmake" }
|
||||
linkoptions { "`curl-config --libs`" }
|
||||
linkoptions { "`pkg-config --libs cjson`" }
|
||||
|
||||
filter { "configurations:Debug" };
|
||||
configuration { "Debug" };
|
||||
defines { "DEBUG" };
|
||||
symbols("On");
|
||||
flags("Symbols");
|
||||
|
||||
filter { "configurations:Release" };
|
||||
configuration { "Release" };
|
||||
defines { "NDEBUG" };
|
||||
optimize("On");
|
||||
flags("Optimize");
|
||||
-- END Mastodont-c
|
Loading…
Reference in a new issue