d3f86eb957
* build.zig: Fix `@src` logic * build.zig: Clarify build error * build.zig: Add option for enabling `raygui` * build.zig: Expose `Options` type
15 lines
384 B
Zig
15 lines
384 B
Zig
const std = @import("std");
|
|
const raylib = @import("src/build.zig");
|
|
|
|
// This has been tested to work with zig 0.12.0
|
|
pub fn build(b: *std.Build) !void {
|
|
try raylib.build(b);
|
|
}
|
|
|
|
// expose helper functions to user's build.zig
|
|
pub const addRaylib = raylib.addRaylib;
|
|
pub const addRaygui = raylib.addRaygui;
|
|
|
|
// expose options for compiling
|
|
pub const RaylibOptions = raylib.Options;
|