Defer unloading of textures and images in group

- Added Clap to the library for future passing of CLI arguments
This commit is contained in:
Tony Bark 2024-05-09 10:45:36 -04:00
parent 65f4d35bf1
commit 444f6f5bea
3 changed files with 23 additions and 6 deletions

View file

@ -45,6 +45,15 @@ pub fn build(b: *std.Build) void {
// exe.root_module.addImport("raylib-gui", raylib_gui);
exe.root_module.addImport("rlgl", rlgl);
const clap_dep = b.dependency("clap", .{
.target = target,
.optimize = optimize,
});
const clap = clap_dep.module("clap"); // main clap module
exe.root_module.addImport("clap", clap);
// This declares intent for the executable to be installed into the
// standard location when the user invokes the "install" step (the default
// step when running `zig build`).