zig/std/special/build_file_template.zig

11 lines
286 B
Zig
Raw Normal View History

const Builder = @import("std").build.Builder;
pub fn build(b: &Builder) {
2017-09-06 19:18:14 +01:00
const mode = b.standardReleaseOptions();
const exe = b.addExecutable("YOUR_NAME_HERE", "src/main.zig");
2017-09-06 19:18:14 +01:00
exe.setBuildMode(mode);
b.default_step.dependOn(&exe.step);
2017-09-06 23:30:45 +01:00
b.installArtifact(exe);
}