summaryrefslogtreecommitdiff
path: root/core/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-16 23:05:56 +0800
committerruki <[email protected]>2023-11-16 23:05:56 +0800
commit41de52de7a82e4ed8ef7e0b86ebed344e69820ea (patch)
treeefc47095943cb54e64289d565a2243ea920e1272 /core/xmake.lua
parentd7cac5b8d0cde98ab4979c6e7602042511a27833 (diff)
add xpack to xmake/core
Diffstat (limited to 'core/xmake.lua')
-rw-r--r--core/xmake.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/xmake.lua b/core/xmake.lua
index 0c667af7c..a2029cff2 100644
--- a/core/xmake.lua
+++ b/core/xmake.lua
@@ -5,7 +5,7 @@ set_project("xmake")
set_version("2.8.5", {build = "%Y%m%d"})
-- set xmake min version
-set_xmakever("2.2.3")
+set_xmakever("2.8.5")
-- set all warnings as errors
set_warnings("all", "error")
@@ -111,3 +111,9 @@ end
if is_plat("windows") then
includes("src/pdcurses")
end
+
+-- add xpack
+includes("@builtin/xpack")
+if xpack then
+ includes("xpack.lua")
+end