This project is ncurses ported to the zig build system.
It works on x86_64-linux-gnu, at least, but I'm not entirely confident about it. Contribution are very welcome. The contents of the auto directory consist of copies of the generated files. Contributions to port these to build.zig are also welcome.
First, fetch this packages.
zig fetch --save git+https://github.com/synqa/zig-ncursesThen, link to your project on build.zig.
const ncurses = b.dependency("ncurses", .{
.target = target,
.optimize = optimize,
});
your_project.root_module.linkLibrary(ncurses.artifact("libncursesw"));