summaryrefslogtreecommitdiff
path: root/tests/projects/package/toolchain_tinycc/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-03-02 22:45:30 +0800
committerruki <[email protected]>2021-03-02 22:45:30 +0800
commit569416446b0cc78535d93614197568fbaffcd497 (patch)
treee97c25606ed83cbec58e3241489037799d329836 /tests/projects/package/toolchain_tinycc/xmake.lua
parent2654dce9ac9d8cfbe30445bcdbe843d912dd16b9 (diff)
improve tinyc
Diffstat (limited to 'tests/projects/package/toolchain_tinycc/xmake.lua')
-rw-r--r--tests/projects/package/toolchain_tinycc/xmake.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/projects/package/toolchain_tinycc/xmake.lua b/tests/projects/package/toolchain_tinycc/xmake.lua
new file mode 100644
index 000000000..1c1384acb
--- /dev/null
+++ b/tests/projects/package/toolchain_tinycc/xmake.lua
@@ -0,0 +1,7 @@
+add_rules("mode.debug", "mode.release")
+add_requires("tinycc")
+
+target("test")
+ set_kind("binary")
+ add_files("src/*.c")
+ set_toolchains("@tinycc")