mastodont-c/premake4.lua
nekobit aa44b9cc3f Switch to premake4 for compat
FossilOrigin-Name: 7f62c6520aa3a5e3e959cd68229459d6126c84153a9b131f2d406fa75e77baa7
2023-03-23 11:49:29 +00:00

22 lines
499 B
Lua

solution "mastodont-c"
configurations { "Debug", "Release" };
-- BEGIN Mastodont project
project("mastodont");
kind("StaticLib");
language("C");
files { "include/*.h", "src/*.c" };
includedirs { "include/" };
configuration { "linux", "bsd", "gmake" }
linkoptions { "`curl-config --libs`" }
linkoptions { "`pkg-config --libs cjson`" }
configuration { "Debug" };
defines { "DEBUG" };
flags("Symbols");
configuration { "Release" };
defines { "NDEBUG" };
flags("Optimize");
-- END Mastodont-c