summaryrefslogtreecommitdiff
path: root/tests/plugins/show/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-04-20 17:35:48 +0800
committerGitHub <[email protected]>2026-04-20 17:35:48 +0800
commit55f8d448564f7cc198edb4db506ec7c18ca8f0f6 (patch)
tree6822b239d43091d20037a99b6ffa9fd7e449f1db /tests/plugins/show/xmake.lua
parent3a1b4e1719ba50b259afa27b450f06c39548003d (diff)
parent4e3f6b16db88b9c1afad898a7f5dfeaecdfd0f27 (diff)
Merge pull request #7490 from xmake-io/show
Export target dependency graph as json/dot
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")