diff --git a/.zigversion b/.zigversion index 1307b2e..0548fb4 100644 --- a/.zigversion +++ b/.zigversion @@ -1 +1 @@ -2024.11.0-mach \ No newline at end of file +0.14.0 \ No newline at end of file diff --git a/README.md b/README.md index bcab6c4..86b62a0 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Zig binding is licensed by [WTFPL](LICENSE) ## Zig version -Minimal is `0.14.0-dev.2577+271452d22` a.k.a `2024.11.0-mach`. But you know try your version and believe. +Minimal is `0.14.0`. But you know try your version and believe. ## Bgfx version diff --git a/build.zig b/build.zig index 7ba9b95..f220684 100644 --- a/build.zig +++ b/build.zig @@ -132,7 +132,7 @@ pub fn build(b: *std.Build) !void { bgfx.addIncludePath(b.path("includes")); - if (target.result.isDarwin()) { + if (target.result.isDarwinLibC()) { bgfx.linkSystemLibrary("objc"); bgfx.linkFramework("Cocoa"); @@ -459,7 +459,7 @@ pub fn build(b: *std.Build) !void { .flags = &glslang_cxx_options, }); } - if (target.result.os.tag == .linux or target.result.isDarwin()) { + if (target.result.os.tag == .linux or target.result.isDarwinLibC()) { glslang_lib.addCSourceFile(.{ .file = b.path(glslang_path ++ "glslang/OSDependent/Unix/ossource.cpp"), .flags = &glslang_cxx_options, diff --git a/build.zig.zon b/build.zig.zon index 7c8f5e0..fa800cc 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,5 +1,6 @@ .{ - .name = "zbgfx", + .name = .zbgfx, + .fingerprint = 0xc48ed871c4086e4a, .version = "0.2.0", .paths = .{ "includes", diff --git a/examples/build.zig.zon b/examples/build.zig.zon index 8cabb65..857980e 100644 --- a/examples/build.zig.zon +++ b/examples/build.zig.zon @@ -1,5 +1,6 @@ .{ - .name = "zbgfx-minimal", + .name = .examples, + .fingerprint = 0x7bd0ad45636a9f2b, .version = "0.1.0", .paths = .{ "build.zig", @@ -10,13 +11,13 @@ .zbgfx = .{ .path = "../" }, .zglfw = .{ - .url = "https://github.com/zig-gamedev/zglfw/archive/1c8f7de20bb01076c94582e22d9393a8d6bf30fe.tar.gz", - .hash = "1220aac39fd472cb7a70b1987249f3ac73799e702ff27516d799e1d5e566097f0a8b", + .url = "https://github.com/zig-gamedev/zglfw/archive/4d04fdac888c0f6c1c858ba343d33b19aa499cef.tar.gz", + .hash = "1220ca0fc58588dbcc38ecfb7dab23f281ba55a8dc76d6efd32afd881e96ffd13605", }, .zgui = .{ - .url = "https://github.com/zig-gamedev/zgui/archive/c16629e67e7bc1bca9a5c67d5123874c75f5374d.tar.gz", - .hash = "12202063c813c1b95affa57d83a6a4817d9a4114bd9db052f87740f81b1843ceca09", + .url = "https://github.com/zig-gamedev/zgui/archive/5f0e01e8cd7f423a27ad56a712e9770a81d5d272.tar.gz", + .hash = "12209ee39f11d6100f84b848858b4048f208f70e06091ccf603879caf0e86fbd058a", }, .zmath = .{