summaryrefslogtreecommitdiff
path: root/tests/projects/xmake_cli/hello/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-22 22:37:38 +0800
committerruki <[email protected]>2020-04-22 09:45:50 +0800
commit56d0939297f81d8a6790e4b638ff516e4a6c3e08 (patch)
tree33d2901ba9cfe03ad19aae394c511d3d8b6bbb48 /tests/projects/xmake_cli/hello/xmake.lua
parent15dc39430ed49d42709bba3ef2acab8500414a3a (diff)
add xmake_cli/hello test
Diffstat (limited to 'tests/projects/xmake_cli/hello/xmake.lua')
-rw-r--r--tests/projects/xmake_cli/hello/xmake.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/projects/xmake_cli/hello/xmake.lua b/tests/projects/xmake_cli/hello/xmake.lua
new file mode 100644
index 000000000..e2e410e03
--- /dev/null
+++ b/tests/projects/xmake_cli/hello/xmake.lua
@@ -0,0 +1,7 @@
+add_rules("mode.debug", "mode.release")
+add_requires("libxmake")
+target("hello")
+ add_rules("xmake.cli")
+ add_files("src/lni/*.c")
+ add_packages("libxmake")
+