mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-18 20:16:44 -04:00
Defer unloading of textures and images in group
- Added Clap to the library for future passing of CLI arguments
This commit is contained in:
parent
65f4d35bf1
commit
444f6f5bea
3 changed files with 23 additions and 6 deletions
|
@ -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`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue