From a85de0a35a250357c32d059aa6b871d3da9cfbba Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 9 Jan 2025 22:43:37 +0800 Subject: switch to namespace --- core/src/xmake/xmake.lua | 2 +- core/xmake.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/xmake/xmake.lua b/core/src/xmake/xmake.lua index 50438de20..ac943fb9e 100644 --- a/core/src/xmake/xmake.lua +++ b/core/src/xmake/xmake.lua @@ -3,7 +3,7 @@ target("xmake") -- add deps add_deps("sv", "lz4") - if false then--namespace then + if namespace then add_deps("tbox::tbox") else add_deps("tbox") diff --git a/core/xmake.lua b/core/xmake.lua index f27461f54..c8ebfcbec 100644 --- a/core/xmake.lua +++ b/core/xmake.lua @@ -132,7 +132,7 @@ end -- add projects includes("src/sv", "src/lz4", "src/xmake", "src/cli") -if false then --namespace then +if namespace then namespace("tbox", function () includes("src/tbox") end) -- cgit v1.3.1