summaryrefslogtreecommitdiff
path: root/tests/projects/zig/c_interop_with_package/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-03-28 00:48:45 +0800
committerruki <[email protected]>2026-03-28 00:48:45 +0800
commitbec4169441e5cd07fc14e886a1759b1f879ca06c (patch)
treeda914fffe17f12079e69dbb7e28a94e67c7ed56e /tests/projects/zig/c_interop_with_package/xmake.lua
parente7f5e0fc203ebb4adb26365a7e1e4fe9e82e1be7 (diff)
add c interop support for zigzig
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")