argp-standalone ported to the zig build system
  • Zig 78.3%
  • C 21.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-14 23:20:50 +02:00
.github/workflows update to Zig 0.17.0 2026-10-14 23:20:50 +02:00
.gitattributes initial commit 2025-04-11 06:02:56 +02:00
.gitignore update to Zig 0.17.0 2026-10-14 23:20:50 +02:00
build.zig update to Zig 0.17.0 2026-10-14 23:20:50 +02:00
build.zig.zon update to Zig 0.17.0 2026-10-14 23:20:50 +02:00
config.h.in initial commit 2025-04-11 06:02:56 +02:00
LICENSE initial commit 2025-04-11 06:02:56 +02:00
README.md initial commit 2025-04-11 06:02:56 +02:00

CI

argp-standalone

This is argp-standalone, 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/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"));