summaryrefslogtreecommitdiff
path: root/tests/plugins/show/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-04-18 21:52:57 +0800
committerruki <[email protected]>2026-04-20 09:35:36 +0800
commitfea8ad3d654e497ba83315f26902647dd64f561e (patch)
tree7576a6c7b0005da49bc381769af96fabb038f11c /tests/plugins/show/xmake.lua
parent51be800bddfa199774206393cb8d7e0749f59756 (diff)
add --dot output
Diffstat (limited to 'tests/plugins/show/xmake.lua')
-rw-r--r--tests/plugins/show/xmake.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/plugins/show/xmake.lua b/tests/plugins/show/xmake.lua
new file mode 100644
index 000000000..7077424f3
--- /dev/null
+++ b/tests/plugins/show/xmake.lua
@@ -0,0 +1,15 @@
+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("app")
+ set_kind("binary")
+ add_deps("core", "ui")
+ add_files("src/main.c")