summaryrefslogtreecommitdiff
path: root/tests/projects/xmake_cli/xmake/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-22 22:34:55 +0800
committerruki <[email protected]>2020-04-22 09:29:34 +0800
commit15dc39430ed49d42709bba3ef2acab8500414a3a (patch)
tree21b5fe80d575cf9a1604c5edce5940504ede17c7 /tests/projects/xmake_cli/xmake/xmake.lua
parente273a770ecd7917f29f013904d3c4b8201af307c (diff)
add xmake.cli rule
Diffstat (limited to 'tests/projects/xmake_cli/xmake/xmake.lua')
-rw-r--r--tests/projects/xmake_cli/xmake/xmake.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/projects/xmake_cli/xmake/xmake.lua b/tests/projects/xmake_cli/xmake/xmake.lua
new file mode 100644
index 000000000..e00d7e14d
--- /dev/null
+++ b/tests/projects/xmake_cli/xmake/xmake.lua
@@ -0,0 +1,10 @@
+add_rules("mode.debug", "mode.release")
+add_requires("libxmake")
+target("xmake")
+ add_rules("xmake.cli")
+ add_files("src/*.c")
+ if is_plat("windows") then
+ add_files("src/*.rc")
+ end
+ add_packages("libxmake")
+