diff --git a/build.zig b/build.zig index 1a3f814..889b0e3 100644 --- a/build.zig +++ b/build.zig @@ -16,10 +16,8 @@ pub fn build(b: *std.Build) void { const optimize = b.standardOptimizeOption(.{}); const clap_dep = b.dependency("clap", .{ .target = target, .optimize = optimize }); - // const zbench_dep = b.dependency("zbench", .{ .target = target, .optimize = optimize }); - const clap = clap_dep.module("clap"); - // const zbench = zbench_dep.module("zbench"); + var opt = b.addOptions(); opt.addOption([]const u8, "version", "0.0.1"); const exe = b.addExecutable(.{ @@ -32,7 +30,6 @@ pub fn build(b: *std.Build) void { }); exe.addModule("build_info", opt.createModule()); exe.addModule("clap", clap); - // exe.addModule("zbench", zbench); // This declares intent for the executable to be installed into the // standard location when the user invokes the "install" step (the default