aboutsummaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--premake5.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/premake5.lua b/premake5.lua
new file mode 100644
index 0000000..0fec5e5
--- /dev/null
+++ b/premake5.lua
@@ -0,0 +1,21 @@
+workspace("lush")
+configurations({ "Debug", "Release" })
+
+-- lush project
+project("lush")
+kind("ConsoleApp")
+language("C")
+targetdir("bin/%{cfg.buildcfg}/lush")
+
+files({
+ "src/**.h",
+ "src/**.c",
+})
+
+filter("configurations:Debug")
+defines({ "DEBUG" })
+symbols("On")
+
+filter("configurations:Release")
+defines({ "NDEBUG" })
+optimize("On")