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
slimsag committed Jun 2, 2024
1 parent a856f34 commit 5d14d57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
zig-cache/
.zig-cache/
zig-out/
8 changes: 4 additions & 4 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ pub fn build(b: *std.Build) void {
});
lib.linkLibCpp();
lib.addCSourceFiles(.{ .files = sources });
lib.addIncludePath(.{ .path = "." });
lib.addIncludePath(.{ .path = "include" });
lib.addIncludePath(.{ .path = "include-generated" });
lib.addIncludePath(b.path("."));
lib.addIncludePath(b.path("include"));
lib.addIncludePath(b.path("include-generated"));
lib.addIncludePath(spirv_headers.path("include"));
lib.addIncludePath(spirv_headers.path("include/spirv/unified1"));
lib.installHeadersDirectory("include/spirv-tools", "spirv-tools");
lib.installHeadersDirectory(b.path("include/spirv-tools"), "spirv-tools", .{});
b.installArtifact(lib);
}

Expand Down

0 comments on commit 5d14d57

Please sign in to comment.