aboutsummaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authorGravatar BanceDev 2024-09-01 13:17:10 -0400
committerGravatar BanceDev 2024-09-01 13:17:10 -0400
commitf6d7b19d2df68d2f549a76cf182c06d38970884f (patch)
treee959b2bd1086a99e7d10124e59d52473f8723909 /premake5.lua
initial commit
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")