Removes the second build.zig in the examples directory and incorporates it into the main build.zig. This gives the zig build system the data needed to know if the raylib library needs to be rebuilt when running any example.
27 lines
770 B
Zig
27 lines
770 B
Zig
.{
|
|
.name = .raylib,
|
|
.version = "5.5.0",
|
|
.minimum_zig_version = "0.14.0",
|
|
|
|
.fingerprint = 0x13035e5cb8bc1ac2, // Changing this has security and trust implications.
|
|
|
|
.dependencies = .{
|
|
.xcode_frameworks = .{
|
|
.url = "git+https://github.com/hexops/xcode-frameworks#9a45f3ac977fd25dff77e58c6de1870b6808c4a7",
|
|
.hash = "N-V-__8AABHMqAWYuRdIlflwi8gksPnlUMQBiSxAqQAAZFms",
|
|
.lazy = true,
|
|
},
|
|
.emsdk = .{
|
|
.url = "git+https://github.com/emscripten-core/emsdk#3.1.50",
|
|
.hash = "N-V-__8AALRTBQDo_pUJ8IQ-XiIyYwDKQVwnr7-7o5kvPDGE",
|
|
.lazy = true,
|
|
},
|
|
},
|
|
|
|
.paths = .{
|
|
"build.zig",
|
|
"build.zig.zon",
|
|
"src",
|
|
"examples",
|
|
},
|
|
}
|