zba-tests/build.zig

9 lines
316 B
Zig

const std = @import("std");
const GBABuilder = @import("lib/ZigGBA/GBA/builder.zig");
pub fn build(b: *std.build.Builder) void {
const exe = GBABuilder.addGBAExecutable(b, "first", "src/first.zig");
exe.emit_asm = if (b.option(bool, "asm", "emit assembly") orelse false) .emit else .default;
_ = exe;
}