e95a6ae246
should be in a separate branch, but oh well... FossilOrigin-Name: 7fefec89a8a466b83c7ca066106fcce2b18376ec390d6a1a6a1ecc6fd3497744
23 lines
527 B
Lua
23 lines
527 B
Lua
workspace("Mastodont");
|
|
configurations { "Debug", "Release" };
|
|
|
|
-- BEGIN Mastodont project
|
|
project("Mastodont");
|
|
kind("StaticLib");
|
|
language("C");
|
|
files { "include/*.h", "src/*.c" };
|
|
includedirs { "include/" };
|
|
|
|
filter { "system:linux or bsd or macosx", "action:gmake" }
|
|
linkoptions { "`curl-config --libs`" }
|
|
linkoptions { "`pkg-config --libs cjson`" }
|
|
|
|
filter { "configurations:Debug" };
|
|
defines { "DEBUG" };
|
|
symbols("On");
|
|
|
|
filter { "configurations:Release" };
|
|
defines { "NDEBUG" };
|
|
optimize("On");
|
|
-- END Mastodont-c
|