diff options
Diffstat (limited to 'samples/project/premake4.lua')
-rw-r--r-- | samples/project/premake4.lua | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/samples/project/premake4.lua b/samples/project/premake4.lua new file mode 100644 index 0000000..b5a1788 --- /dev/null +++ b/samples/project/premake4.lua @@ -0,0 +1,27 @@ +solution "PremakeTestbox" + configurations { "Debug", "Release" } + + location "build" + + configuration "Debug" + targetdir "bin/debug" + flags { "Symbols" } + defines { "_DEBUG", "DEBUG" } + + configuration "Release" + targetdir "bin/release" + flags { "Optimize" } + defines { "NDEBUG" } + + +include "CppConsoleApp" +include "CppWindowedApp" +include "CppSharedLib" +include "CppStaticLib" + +function onclean() + os.rmdir("bin") + os.rmdir("CppSharedLib/lib") + os.rmdir("CppStaticLib/lib") +end + |