summaryrefslogtreecommitdiff
path: root/xmake/templates/zig/console/project/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-17 22:40:17 +0800
committerruki <[email protected]>2020-09-17 22:40:17 +0800
commitc2724a1298a1cd2ca1c8e76ced79c4037d2c6cc5 (patch)
tree25a1a6d826710a30001560d5ee028a24f6fc5b02 /xmake/templates/zig/console/project/xmake.lua
parentef86cee77a2cb6cdb3449b48ce33cb8123933a8c (diff)
add zig templates
Diffstat (limited to 'xmake/templates/zig/console/project/xmake.lua')
-rw-r--r--xmake/templates/zig/console/project/xmake.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/templates/zig/console/project/xmake.lua b/xmake/templates/zig/console/project/xmake.lua
new file mode 100644
index 000000000..69a4b4477
--- /dev/null
+++ b/xmake/templates/zig/console/project/xmake.lua
@@ -0,0 +1,7 @@
+add_rules("mode.debug", "mode.release")
+
+target("${TARGETNAME}")
+ set_kind("binary")
+ add_files("src/*.zig")
+
+${FAQ}