feat: emit asm
This commit is contained in:
parent
dfec136a86
commit
6285a950fe
|
@ -3,5 +3,6 @@ const GBABuilder = @import("lib/ZigGBA/GBA/builder.zig");
|
||||||
|
|
||||||
pub fn build(b: *std.build.Builder) void {
|
pub fn build(b: *std.build.Builder) void {
|
||||||
const exe = GBABuilder.addGBAExecutable(b, "first", "src/first.zig");
|
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;
|
_ = exe;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue