blob: 14066cf3ec0148fb779e529b902d3fc833ab67b7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
const std = @import("std");
pub fn build(b: *std.Build) void {
const optimize = b.standardOptimizeOption(.{});
const target = b.standardTargetOptions(.{});
const vaxis_dep = b.dependency("vaxis", .{
.target = target,
.optimize = optimize,
});
const exe = b.addExecutable(.{
.name = "pardes",
.root_module = b.createModule(.{
.target = target,
.optimize = optimize,
.root_source_file = b.path("main.zig"),
}),
});
exe.root_module.addImport("vaxis", vaxis_dep.module("vaxis"));
const run_exe = b.addRunArtifact(exe);
const run = b.step("run", "descend to the pardes");
run.dependOn(&run_exe.step);
}
|