mirror of
https://github.com/raylib-zig/raylib-zig.git
synced 2026-02-20 16:24:34 +00:00
Update build.zig for 0.16 (#304)
This commit is contained in:
parent
7d4761b878
commit
96de992410
@ -405,13 +405,13 @@ pub fn build(b: *std.Build) !void {
|
||||
const raylib_test = b.addTest(.{
|
||||
.root_module = raylib,
|
||||
});
|
||||
raylib_test.linkLibC();
|
||||
raylib_test.root_module.link_libc = true;
|
||||
|
||||
const raygui_test = b.addTest(.{
|
||||
.root_module = raygui,
|
||||
});
|
||||
raygui_test.root_module.addImport("raylib-zig", raylib);
|
||||
raygui_test.linkLibC();
|
||||
raygui_test.root_module.link_libc = true;
|
||||
|
||||
const test_step = b.step("test", "Check for library compilation errors");
|
||||
test_step.dependOn(&raylib_test.step);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user