summaryrefslogtreecommitdiff
path: root/tests/projects/zig/c_interop_with_package/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/zig/c_interop_with_package/xmake.lua')
-rw-r--r--tests/projects/zig/c_interop_with_package/xmake.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/projects/zig/c_interop_with_package/xmake.lua b/tests/projects/zig/c_interop_with_package/xmake.lua
new file mode 100644
index 000000000..56b95995d
--- /dev/null
+++ b/tests/projects/zig/c_interop_with_package/xmake.lua
@@ -0,0 +1,7 @@
+add_rules("mode.debug", "mode.release")
+add_requires("zlib", {system = false})
+
+target("test")
+ set_kind("binary")
+ add_files("src/*.zig")
+ add_packages("zlib")