diff options
| author | ruki <[email protected]> | 2025-01-09 22:43:37 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-01-09 22:43:37 +0800 |
| commit | a85de0a35a250357c32d059aa6b871d3da9cfbba (patch) | |
| tree | 789280ce758610ec4b5096e96f0ae38150cbf003 | |
| parent | 54afbb2e83232da5a5db3ec42dd086925c69f491 (diff) | |
switch to namespace
| -rw-r--r-- | core/src/xmake/xmake.lua | 2 | ||||
| -rw-r--r-- | 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) |
