Compare commits

...

2 Commits

6 changed files with 12 additions and 10 deletions

View File

@ -78,7 +78,7 @@ arm7wrestler GBA Fixed | [destoer](https://github.com/destoer)
## Compiling
Most recently built on Zig [v0.11.0-dev.1580+a5b34a61a](https://github.com/ziglang/zig/tree/a5b34a61a)
Most recently built on Zig [v0.11.0-dev.2168+322ace70f](https://github.com/ziglang/zig/tree/322ace70f)
### Dependencies

View File

@ -8,7 +8,7 @@ const nfd = @import("lib/nfd-zig/build.zig");
pub fn build(b: *std.build.Builder) void {
// Minimum Zig Version
const min_ver = std.SemanticVersion.parse("0.11.0-dev.1580+a5b34a61a") catch return; // https://github.com/ziglang/zig/commit/a5b34a61a
const min_ver = std.SemanticVersion.parse("0.11.0-dev.2168+322ace70f") catch return; // https://github.com/ziglang/zig/commit/322ace70f
if (builtin.zig_version.order(min_ver).compare(.lt)) {
std.log.err("{s}", .{b.fmt("Zig v{} does not meet the minimum version requirement. (Zig v{})", .{ builtin.zig_version, min_ver })});
std.os.exit(1);
@ -48,7 +48,8 @@ pub fn build(b: *std.build.Builder) void {
exe.addAnonymousModule("zba-util", .{ .source_file = .{ .path = "lib/zba-util/src/lib.zig" } });
// gdbstub
gdbstub.link(exe);
exe.addModule("gdbstub", gdbstub.getModule(b));
// NativeFileDialog(ue) Bindings
exe.linkLibrary(nfd.makeLib(b, target, optimize));
exe.addModule("nfd", nfd.getModule(b));
@ -59,9 +60,10 @@ pub fn build(b: *std.build.Builder) void {
exe.addModule("sdl2", sdk.getNativeModule());
// Dear ImGui bindings
const zgui_pkg = zgui.package(b, .{ .options = .{ .backend = .sdl2_opengl3 } });
exe.addModule("zgui", zgui_pkg.module);
zgui.link(exe, zgui_pkg.options);
// .shared option should stay in sync with SDL.zig call above where true == .dynamic, and false == .static
const zgui_pkg = zgui.package(b, target, optimize, .{ .options = .{ .backend = .sdl2_opengl3, .shared = true } });
zgui_pkg.link(exe);
exe.install();

@ -1 +1 @@
Subproject commit aa063fab4031d12213dd95f1db5bec9d4f6727bc
Subproject commit cc3b023f50e7b9ad690f1047a19a50feff4d1301

@ -1 +1 @@
Subproject commit acb59994fcfb83d36efef47810a9dc791c6e542e
Subproject commit 215e053b9ace6e6e561b64cb06e2516021f76897

@ -1 +1 @@
Subproject commit ceca3dd6607f247d0d7ce12fbbd4623320277aac
Subproject commit 5b2b64a9dedd91f0cbf69ccb7a0a5ebf1fdf1691

@ -1 +1 @@
Subproject commit cb13519431b916c05c6c783cb0ce3b232be5e400
Subproject commit 6310cbd57684d62c4fb6ac73e0fa9883fab402c8