summaryrefslogtreecommitdiff
path: root/core/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-01-09 10:19:14 +0800
committerGitHub <[email protected]>2025-01-09 10:19:14 +0800
commit8e24b5a44dcffbee1444d715909a64014e11e866 (patch)
treea2f0aaf7b582dae30d4db636efd199ccb158e0d8 /core/xmake.lua
parent1cf6a7f479837b471a5f91410359d86983828e6a (diff)
parent6317ffd0fe312360eb5f6e079320c01c95870ad0 (diff)
Merge pull request #6001 from xmake-io/namespace
Support for namespace
Diffstat (limited to 'core/xmake.lua')
-rw-r--r--core/xmake.lua9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/xmake.lua b/core/xmake.lua
index 0d282dcdf..f27461f54 100644
--- a/core/xmake.lua
+++ b/core/xmake.lua
@@ -131,7 +131,14 @@ if is_plat("windows") then
end
-- add projects
-includes("src/sv", "src/lz4", "src/tbox", "src/xmake", "src/cli")
+includes("src/sv", "src/lz4", "src/xmake", "src/cli")
+if false then --namespace then
+ namespace("tbox", function ()
+ includes("src/tbox")
+ end)
+else
+ includes("src/tbox")
+end
if has_config("lua_cjson") then
includes("src/lua-cjson")
end