allyourcodebase/argp-standalone
argp-standalone ported to the zig build system
This is argp-standalone, packaged for Zig.
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/argp-standalone.git
You can then import argp_standalone
in your build.zig
with:
const argp_dependency = b.dependency("argp_standalone", .{
.target = target,
.optimize = optimize,
});
your_exe.root_module.linkLibrary(argp_dependency.artifact("argp"));