summaryrefslogtreecommitdiff
path: root/tests/projects/zig/c_interop_with_package/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-03-28 15:41:33 +0800
committerGitHub <[email protected]>2026-03-28 15:41:33 +0800
commitc86b161f6b27040289c75f3cafe7a863dea737bc (patch)
treeda914fffe17f12079e69dbb7e28a94e67c7ed56e /tests/projects/zig/c_interop_with_package/xmake.lua
parente7f5e0fc203ebb4adb26365a7e1e4fe9e82e1be7 (diff)
parentbec4169441e5cd07fc14e886a1759b1f879ca06c (diff)
Merge pull request #7430 from xmake-io/zig
add c interop support for zig
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")