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