mirror of
https://github.com/allyourcodebase/libliftoff.git
synced 2026-11-17 01:20:51 +00:00
libliftoff packaged for the zig build system
- Zig 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .github/workflows | ||
| .gitignore | ||
| build.zig | ||
| build.zig.zon | ||
| LICENSE | ||
| README.md | ||
libliftoff zig
libliftoff, packaged for the Zig build system.
Using
First, update your build.zig.zon:
zig fetch --save git+https://github.com/allyourcodebase/libliftoff.git
Then in your build.zig:
const libliftoff = b.dependency("libliftoff", .{ .target = target, .optimize = optimize });
exe.linkLibrary(libliftoff.artifact("liftoff"));