Skip to content

Commit

Permalink
update to Zig 2024.05
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Gutekanst <[email protected]>
  • Loading branch information
emidoots committed Jun 2, 2024
1 parent 55ac928 commit ffbce97
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Zig stuff
zig-*
.zig-cache
14 changes: 7 additions & 7 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ pub fn build(b: *std.Build) void {
.optimize = optimize,
});

lib.installHeadersDirectory("GL", "GL");
lib.installHeadersDirectory("GLES", "GLES");
lib.installHeadersDirectory("GLES2", "GLES2");
lib.installHeadersDirectory("GLES3", "GLES3");
lib.installHeadersDirectory("GLSC2", "GLSC2");
lib.installHeadersDirectory("EGL", "EGL");
lib.installHeadersDirectory("KHR", "KHR");
lib.installHeadersDirectory(b.path("GL"), "GL", .{});
lib.installHeadersDirectory(b.path("GLES"), "GLES", .{});
lib.installHeadersDirectory(b.path("GLES2"), "GLES2", .{});
lib.installHeadersDirectory(b.path("GLES3"), "GLES3", .{});
lib.installHeadersDirectory(b.path("GLSC2"), "GLSC2", .{});
lib.installHeadersDirectory(b.path("EGL"), "EGL", .{});
lib.installHeadersDirectory(b.path("KHR"), "KHR", .{});

b.installArtifact(lib);
}

0 comments on commit ffbce97

Please sign in to comment.