zba-tests/build.zig

9 lines
316 B
Zig
Raw Normal View History

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