zig/std/special/build_file_template.zig

9 lines
256 B
Zig
Raw Normal View History

const Builder = @import("std").build.Builder;
pub fn build(b: &Builder) {
const release = b.option(bool, "release", "optimizations on and safety off") ?? false;
var exe = b.addExe("src/main.zig", "YOUR_NAME_HERE");
exe.setRelease(release);
}