From 6f8c0f3abda585b3ee1d87e3b8e19c729b52b4a6 Mon Sep 17 00:00:00 2001 From: Andrew D. France Date: Mon, 14 Jul 2025 17:51:23 -0500 Subject: Added compat53 support and fixed bugged non-interactive mode --- premake5.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'premake5.lua') 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" }) -- cgit v1.2.3-59-g8ed1b