aboutsummaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authorGravatar Andrew D. France 2025-07-14 17:51:23 -0500
committerGravatar Andrew D. France 2025-07-14 17:51:23 -0500
commit6f8c0f3abda585b3ee1d87e3b8e19c729b52b4a6 (patch)
tree8361fd3812991d43adca5b5c81029486aa955478 /premake5.lua
parentv0.3.2 (diff)
Added compat53 support and fixed bugged non-interactive mode
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua10
1 files changed, 8 insertions, 2 deletions
diff --git a/premake5.lua b/premake5.lua
index 037cfca..127e86e 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -18,7 +18,11 @@ else
links({ "lua" })
end
-includedirs({ lua_inc_path, "lib/hashmap" })
+includedirs({
+ lua_inc_path,
+ "lib/hashmap",
+ "lib/compat53/c-api"
+})
libdirs({ lua_lib_path })
files({
@@ -26,8 +30,10 @@ files({
"src/**.c",
"lib/hashmap/**.h",
"lib/hashmap/**.c",
+ "lib/compat53/c-api/compat-5.3.h",
+ "lib/compat53/c-api/compat-5.3.c"
})
-defines({ 'LUSH_VERSION="0.3.2"' })
+defines({ 'LUSH_VERSION="0.3.2"', 'COMPAT53_PREFIX=""' })
filter("configurations:Debug")
defines({ "DEBUG" })