libdisplay-info packaged for the zig build system
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Pablo Alessandro Santos Hugen 3fda1fb932
update
Signed-off-by: Pablo Alessandro Santos Hugen <phugen@redhat.com>
2026-03-04 11:28:07 -03:00
.github/workflows First commit 2026-03-01 00:14:56 -03:00
tools First commit 2026-03-01 00:14:56 -03:00
.gitignore First commit 2026-03-01 00:14:56 -03:00
build.zig update 2026-03-04 11:28:07 -03:00
build.zig.zon update 2026-03-04 11:28:07 -03:00
LICENSE First commit 2026-03-01 00:14:56 -03:00
README.md First commit 2026-03-01 00:14:56 -03:00

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"));