mirror of
https://github.com/allyourcodebase/libdrm.git
synced 2026-11-17 01:20:30 +00:00
libdrm 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 | ||
libdrm zig
libdrm, packaged for the Zig build system.
Core library only (no GPU-specific sub-libraries).
Using
First, update your build.zig.zon:
zig fetch --save git+https://github.com/allyourcodebase/libdrm.git
Then in your build.zig:
const libdrm = b.dependency("libdrm", .{ .target = target, .optimize = optimize });
exe.linkLibrary(libdrm.artifact("drm"));