blob: f338a2c02343395e45b097dc1aa1b64315d5a139 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
const std = @import("std");
const print = std.debug.print;
pub fn build(b: *std.Build) void {
const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{});
var exe = b.addExecutable(.{ .name = "aoc2024", .root_source_file = b.path("main.zig"), .target = target, .optimize = optimize });
const mecha = b.dependency("mecha", .{});
exe.root_module.addImport("mecha", mecha.module("mecha"));
b.installArtifact(exe);
}
|