summaryrefslogtreecommitdiff
path: root/tests/actions/package/localpkg/libfoo/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/actions/package/localpkg/libfoo/xmake.lua')
-rw-r--r--tests/actions/package/localpkg/libfoo/xmake.lua16
1 files changed, 13 insertions, 3 deletions
diff --git a/tests/actions/package/localpkg/libfoo/xmake.lua b/tests/actions/package/localpkg/libfoo/xmake.lua
index 01419c241..1b1dd5a41 100644
--- a/tests/actions/package/localpkg/libfoo/xmake.lua
+++ b/tests/actions/package/localpkg/libfoo/xmake.lua
@@ -1,8 +1,18 @@
add_rules("mode.debug", "mode.release")
-target("foo")
+target("sub")
+ set_kind("static")
+ add_files("src/sub.cpp")
+ add_headerfiles("src/sub.h")
+
+target("add")
set_kind("static")
- add_files("src/interface.cpp")
- add_headerfiles("src/*.h")
+ add_files("src/add.cpp")
+ add_headerfiles("src/add.h")
+target("foo")
+ add_deps("add", "sub")
+ set_kind("static")
+ add_files("src/foo.cpp")
+ add_headerfiles("src/foo.h")