diff options
| author | ruki <[email protected]> | 2024-04-03 23:34:46 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-04-03 23:34:46 +0800 |
| commit | 817353b79fc9145c18992facd920ec8f9497000b (patch) | |
| tree | fe3b2423ff3dab6665163d024e933a4fd3531076 /tests/projects/other/native_module/xmake.lua | |
| parent | 5ae6718ca77480542aef533ea90f799e05c46aec (diff) | |
add zoo module
Diffstat (limited to 'tests/projects/other/native_module/xmake.lua')
| -rw-r--r-- | tests/projects/other/native_module/xmake.lua | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/projects/other/native_module/xmake.lua b/tests/projects/other/native_module/xmake.lua index e403454bb..3148fc0f2 100644 --- a/tests/projects/other/native_module/xmake.lua +++ b/tests/projects/other/native_module/xmake.lua @@ -7,10 +7,13 @@ target("test") add_files("src/*.cpp") on_config(function (target) import("shared.foo") + import("shared.zoo") import("binary.bar", {always_build = true}) - print("shared: 1 + 1 = %d", foo.add(1, 1)) - print("shared: 1 - 1 = %d", foo.sub(1, 1)) - print("binary: 1 + 1 = %s", bar.add(1, 1)) - print("binary: 1 - 1 = %s", bar.sub(1, 1)) + 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) |
