summaryrefslogtreecommitdiff
path: root/tests/projects/other/native_module/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-04-04 00:52:36 +0800
committerruki <[email protected]>2024-04-04 00:52:36 +0800
commit257bbb3fa4a5c2f47f4a9481ea5a6899aac27a2c (patch)
treec2e8e732ab3696cdefe96ce76d7a600ddeed3bf1 /tests/projects/other/native_module/xmake.lua
parentc04f30ad9010b58554554f925584ec97682a3f18 (diff)
replace foo tests
Diffstat (limited to 'tests/projects/other/native_module/xmake.lua')
-rw-r--r--tests/projects/other/native_module/xmake.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/projects/other/native_module/xmake.lua b/tests/projects/other/native_module/xmake.lua
index 3f895bb12..211e839d3 100644
--- a/tests/projects/other/native_module/xmake.lua
+++ b/tests/projects/other/native_module/xmake.lua
@@ -6,13 +6,10 @@ target("test")
set_kind("binary")
add_files("src/*.cpp")
on_config(function (target)
- import("shared.foo")
- import("shared.zoo", {always_build = true})
- import("binary.bar", {always_build = true})
+ import("shared.foo", {always_build = true})
+ import("binary.bar")
print("foo: 1 + 1 = %d", foo.add(1, 1))
print("foo: 1 - 1 = %d", foo.sub(1, 1))
- print("zoo: 1 + 1 = %d", zoo.add(1, 1))
- print("zoo: 1 - 1 = %d", zoo.sub(1, 1))
print("bar: 1 + 1 = %s", bar.add(1, 1))
print("bar: 1 - 1 = %s", bar.sub(1, 1))
end)