mirror of
https://github.com/allyourcodebase/nativefiledialog-extended.git
synced 2026-11-17 01:30:33 +00:00
nativefiledialog-extended ported to the zig build system
- Zig 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| .gitattributes | ||
| .gitignore | ||
| build.zig | ||
| build.zig.zon | ||
| LICENSE | ||
| README.md | ||
nativefiledialog-extended
This is nativefiledialog-extended, packaged for Zig.
Installation
First, update your build.zig.zon:
# Initialize a `zig build` project if you haven't already
zig init
zig fetch --save git+https://github.com/allyourcodebase/nativefiledialog-extended.git#1.4.1
You can then import nativefiledialog-extended in your build.zig with:
const nfd_dependency = b.dependency("nativefiledialog-extended", .{
.target = target,
.optimize = optimize,
});
your_exe.root_module.linkLibrary(nfd_dependency.artifact("nfd"));
Dependencies
See https://github.com/btzy/nativefiledialog-extended/tree/v1.4.1#dependencies