summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorruki <[email protected]>2024-04-02 00:56:45 +0800
committerruki <[email protected]>2024-04-02 00:56:45 +0800
commitf5d208c3aba4759bf2246d91a26d19d00603d2d1 (patch)
tree4a22c64c3b23015a7576d0d88bd28826572d68ad /tests
parentcc60126eb206617dc69e6aa96c21ad13c1731f8c (diff)
add module.binary/shared rules
Diffstat (limited to 'tests')
-rw-r--r--tests/projects/other/native_module/modules/binary/bar/xmake.lua2
-rw-r--r--tests/projects/other/native_module/xmake.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/projects/other/native_module/modules/binary/bar/xmake.lua b/tests/projects/other/native_module/modules/binary/bar/xmake.lua
index 7b3ea4032..8f4526071 100644
--- a/tests/projects/other/native_module/modules/binary/bar/xmake.lua
+++ b/tests/projects/other/native_module/modules/binary/bar/xmake.lua
@@ -1,7 +1,7 @@
add_rules("mode.debug", "mode.release")
target("bar")
- set_kind("binary")
+ add_rules("module.binary")
add_files("src/*.cpp")
diff --git a/tests/projects/other/native_module/xmake.lua b/tests/projects/other/native_module/xmake.lua
index 9327d7407..628248534 100644
--- a/tests/projects/other/native_module/xmake.lua
+++ b/tests/projects/other/native_module/xmake.lua
@@ -3,7 +3,7 @@ add_rules("mode.debug", "mode.release")
add_moduledirs("modules")
target("test")
- add_rules("module.binary")
+ set_kind("binary")
add_files("src/*.cpp")
on_config(function (target)
-- import("shared.foo")