|
|
@ -25,13 +25,16 @@ pub fn build(b: *std.Build) void { |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
// Link Raylib |
|
|
|
// Link Raylib |
|
|
|
exe.addLibraryPath(.{ |
|
|
|
// exe.addLibraryPath(.{ |
|
|
|
.cwd_relative = "/opt/homebrew/Cellar/raylib/5.0/lib", |
|
|
|
// .cwd_relative = "/opt/homebrew/Cellar/raylib/5.0/lib", |
|
|
|
}); |
|
|
|
// }); |
|
|
|
exe.linkSystemLibrary("raylib"); |
|
|
|
// exe.linkSystemLibrary("raylib"); |
|
|
|
exe.linkSystemLibrary("curl"); |
|
|
|
exe.linkSystemLibrary("curl"); |
|
|
|
|
|
|
|
exe.addObjectFile(.{ |
|
|
|
|
|
|
|
.cwd_relative = "/opt/homebrew/Cellar/raylib/5.0/lib/libraylib.a", |
|
|
|
|
|
|
|
}); |
|
|
|
// exe.addObjectFile(.{ |
|
|
|
// exe.addObjectFile(.{ |
|
|
|
// .cwd_relative = "/opt/homebrew/Cellar/raylib/5.0/lib/libraylib.a", |
|
|
|
// .cwd_relative = "/opt/homebrew/Cellar/curl/8.5.0/lib/libcurl.a", |
|
|
|
// }); |
|
|
|
// }); |
|
|
|
exe.addIncludePath(.{ |
|
|
|
exe.addIncludePath(.{ |
|
|
|
.cwd_relative = "/opt/homebrew/Cellar/raylib/5.0/include", |
|
|
|
.cwd_relative = "/opt/homebrew/Cellar/raylib/5.0/include", |
|
|
|