diff options
Diffstat (limited to 'tests/projects/other/native_module/xmake.lua')
| -rw-r--r-- | tests/projects/other/native_module/xmake.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/projects/other/native_module/xmake.lua b/tests/projects/other/native_module/xmake.lua index e403454bb..211e839d3 100644 --- a/tests/projects/other/native_module/xmake.lua +++ b/tests/projects/other/native_module/xmake.lua @@ -6,11 +6,11 @@ target("test") set_kind("binary") add_files("src/*.cpp") on_config(function (target) - import("shared.foo") - 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)) + 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("bar: 1 + 1 = %s", bar.add(1, 1)) + print("bar: 1 - 1 = %s", bar.sub(1, 1)) end) |
