mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
14 lines
325 B
Zig
14 lines
325 B
Zig
const std = @import("std");
|
|
|
|
pub fn build(b: *std.Build) void {
|
|
const optimize = b.standardOptimizeOption(.{});
|
|
const exe = b.addExecutable(.{
|
|
.name = "example",
|
|
.root_source_file = .{ .path = "example.zig" },
|
|
.optimize = optimize,
|
|
});
|
|
b.default_step.dependOn(&exe.step);
|
|
}
|
|
|
|
// syntax
|