summaryrefslogtreecommitdiff
path: root/tests/projects
diff options
context:
space:
mode:
authorruki <[email protected]>2024-04-03 22:49:16 +0800
committerruki <[email protected]>2024-04-03 22:49:16 +0800
commitd2b45f4d485d2778c5b08500365d6f0068c40b3b (patch)
treed2d75ba18d1cee8ab475dfc21549d4ba2662830f /tests/projects
parent075c11512f103bc344defad7ed78bc0d9dcac92a (diff)
add always_build for import
Diffstat (limited to 'tests/projects')
-rw-r--r--tests/projects/other/native_module/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/projects/other/native_module/xmake.lua b/tests/projects/other/native_module/xmake.lua
index 396921051..e403454bb 100644
--- a/tests/projects/other/native_module/xmake.lua
+++ b/tests/projects/other/native_module/xmake.lua
@@ -7,7 +7,7 @@ target("test")
add_files("src/*.cpp")
on_config(function (target)
import("shared.foo")
- import("binary.bar")
+ 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))