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 b15acee commit f9b732c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
zig-out/
zig-cache/
.zig-cache/
7 changes: 2 additions & 5 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,9 @@ pub fn build(b: *std.Build) void {
"-DSPIRV_CROSS_C_API_HLSL",
"-DSPIRV_CROSS_C_API_MSL",
} });
lib.addIncludePath(.{ .path = "." });
lib.installHeadersDirectoryOptions(.{
.source_dir = .{ .path = "" },
lib.addIncludePath(b.path("."));
lib.installHeadersDirectory(b.path(""), "spirv-cross", .{
.include_extensions = &.{".h"},
.install_dir = .header,
.install_subdir = "spirv-cross",
});
b.installArtifact(lib);
}
Expand Down

0 comments on commit f9b732c

Please sign in to comment.