vendor raygui

This commit is contained in:
Fabien Freling 2023-10-04 16:07:59 +02:00
parent da5ae3710d
commit efd8a47287
5 changed files with 5526 additions and 5 deletions

3
.gitmodules vendored
View file

@ -1,3 +0,0 @@
[submodule "zig/3rd-party/raygui"]
path = zig/3rd-party/raygui
url = https://github.com/raysan5/raygui/

@ -1 +0,0 @@
Subproject commit 85a5c104f509b183c8cc7db0d90c2ab7a2b198c8

5522
zig/3rd-party/raygui.h vendored Normal file

File diff suppressed because it is too large Load diff

View file

@ -21,7 +21,7 @@ pub fn build(b: *std.Build) void {
.optimize = optimize,
});
exe.linkLibrary(raylib_dep.artifact("raylib"));
exe.addIncludePath(.{ .path = "3rd-party/raygui/src" });
exe.addIncludePath(.{ .path = "3rd-party/" });
exe.linkSystemLibrary("sqlite3");
// This declares intent for the executable to be installed into the

View file

@ -14,3 +14,6 @@ test:
format:
fd -e zig -X zig fmt {}
update-deps:
curl https://raw.githubusercontent.com/raysan5/raygui/master/src/raygui.h --output 3rd-party/raygui.h