summaryrefslogtreecommitdiff
path: root/tests/plugins/show/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/show/xmake.lua')
-rw-r--r--tests/plugins/show/xmake.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/plugins/show/xmake.lua b/tests/plugins/show/xmake.lua
new file mode 100644
index 000000000..15344a72a
--- /dev/null
+++ b/tests/plugins/show/xmake.lua
@@ -0,0 +1,20 @@
+add_rules("mode.debug", "mode.release")
+
+target("core")
+ set_kind("static")
+ add_files("src/core.c")
+
+target("ui")
+ set_kind("static")
+ add_deps("core")
+ add_files("src/ui.c")
+
+target("ext::net")
+ set_kind("static")
+ add_deps("core")
+ add_files("src/net.c")
+
+target("app")
+ set_kind("binary")
+ add_deps("core", "ui", "ext::net")
+ add_files("src/main.c")