Compare commits
2 Commits
b879c76510
...
ca331c60c6
Author | SHA1 | Date |
---|---|---|
Rekai Nyangadzayi Musuka | ca331c60c6 | |
Rekai Nyangadzayi Musuka | 0010925caa |
|
@ -78,7 +78,7 @@ arm7wrestler GBA Fixed | [destoer](https://github.com/destoer)
|
||||||
|
|
||||||
## Compiling
|
## 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
|
### Dependencies
|
||||||
|
|
||||||
|
|
10
build.zig
10
build.zig
|
@ -8,7 +8,7 @@ const nfd = @import("lib/nfd-zig/build.zig");
|
||||||
|
|
||||||
pub fn build(b: *std.build.Builder) void {
|
pub fn build(b: *std.build.Builder) void {
|
||||||
// Minimum Zig Version
|
// 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)) {
|
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.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);
|
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" } });
|
exe.addAnonymousModule("zba-util", .{ .source_file = .{ .path = "lib/zba-util/src/lib.zig" } });
|
||||||
|
|
||||||
// gdbstub
|
// gdbstub
|
||||||
gdbstub.link(exe);
|
exe.addModule("gdbstub", gdbstub.getModule(b));
|
||||||
|
|
||||||
// NativeFileDialog(ue) Bindings
|
// NativeFileDialog(ue) Bindings
|
||||||
exe.linkLibrary(nfd.makeLib(b, target, optimize));
|
exe.linkLibrary(nfd.makeLib(b, target, optimize));
|
||||||
exe.addModule("nfd", nfd.getModule(b));
|
exe.addModule("nfd", nfd.getModule(b));
|
||||||
|
@ -59,9 +60,8 @@ pub fn build(b: *std.build.Builder) void {
|
||||||
exe.addModule("sdl2", sdk.getNativeModule());
|
exe.addModule("sdl2", sdk.getNativeModule());
|
||||||
|
|
||||||
// Dear ImGui bindings
|
// Dear ImGui bindings
|
||||||
const zgui_pkg = zgui.package(b, .{ .options = .{ .backend = .sdl2_opengl3 } });
|
const zgui_pkg = zgui.package(b, target, optimize, .{ .options = .{ .backend = .sdl2_opengl3 } });
|
||||||
exe.addModule("zgui", zgui_pkg.module);
|
zgui_pkg.link(exe);
|
||||||
zgui.link(exe, zgui_pkg.options);
|
|
||||||
|
|
||||||
exe.install();
|
exe.install();
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit aa063fab4031d12213dd95f1db5bec9d4f6727bc
|
Subproject commit cc3b023f50e7b9ad690f1047a19a50feff4d1301
|
|
@ -1 +1 @@
|
||||||
Subproject commit acb59994fcfb83d36efef47810a9dc791c6e542e
|
Subproject commit 215e053b9ace6e6e561b64cb06e2516021f76897
|
2
lib/zgui
2
lib/zgui
|
@ -1 +1 @@
|
||||||
Subproject commit ceca3dd6607f247d0d7ce12fbbd4623320277aac
|
Subproject commit 70d7c0dc02484de5226e8fe0f1284ac781826252
|
|
@ -1 +1 @@
|
||||||
Subproject commit cb13519431b916c05c6c783cb0ce3b232be5e400
|
Subproject commit 6310cbd57684d62c4fb6ac73e0fa9883fab402c8
|
Loading…
Reference in New Issue