build.zig (435B)
1 const std = @import("std"); 2 3 pub fn build(b: *std.Build) void { 4 const target = b.standardTargetOptions(.{}); 5 const optimize = b.standardOptimizeOption(.{}); 6 7 const exe = b.addExecutable(.{ 8 .name = "pmn", 9 .root_module = b.createModule(.{ 10 .root_source_file = b.path("src/main.zig"), 11 .target = target, 12 .optimize = optimize, 13 }), 14 }); 15 b.installArtifact(exe); 16 }