summaryrefslogtreecommitdiff
path: root/tests/projects/other/native_module/modules/shared/foo/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-04-02 23:04:57 +0800
committerruki <[email protected]>2024-04-02 23:04:57 +0800
commitdf624c36f992f13bb65b8b2777718e1255ed5652 (patch)
treecbb777346b564997a09b6054c20a5611aa5fb919 /tests/projects/other/native_module/modules/shared/foo/xmake.lua
parent15cb9bc95d2d8df1f9b14f3014c275f6b0032a34 (diff)
load foo module
Diffstat (limited to 'tests/projects/other/native_module/modules/shared/foo/xmake.lua')
-rw-r--r--tests/projects/other/native_module/modules/shared/foo/xmake.lua11
1 files changed, 3 insertions, 8 deletions
diff --git a/tests/projects/other/native_module/modules/shared/foo/xmake.lua b/tests/projects/other/native_module/modules/shared/foo/xmake.lua
index 61c0a8357..e4fcc34ad 100644
--- a/tests/projects/other/native_module/modules/shared/foo/xmake.lua
+++ b/tests/projects/other/native_module/modules/shared/foo/xmake.lua
@@ -1,14 +1,9 @@
add_rules("mode.debug", "mode.release")
-add_requires("lua")
+add_requires("lua 5.4", {system = false})
-target("add")
+target("foo")
add_rules("module.shared")
- add_files("src/add.cpp")
- add_packages("lua")
-
-target("sub")
- add_rules("module.shared")
- add_files("src/sub.cpp")
+ add_files("src/foo.c")
add_packages("lua")