We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4730132 commit 299833bCopy full SHA for 299833b
build.zig
@@ -45,6 +45,7 @@ pub fn build(b: *std.Build) !void {
45
.{ .name = "options", .module = options_module },
46
.{ .name = "zwindows", .module = zwindows_module },
47
},
48
+
49
});
50
}
51
@@ -225,6 +226,15 @@ pub const CompileShaders = struct {
225
226
self.zwindows.path("bin/x64").getPath(b),
227
);
228
229
230
+ switch (builtin.target.os.tag) {
231
+ .linux, .macos => {
232
+ const chmod = b.addSystemCommand(&.{ "chmod", "+x", dxc_path });
233
+ cmd_step.step.dependOn(&chmod.step);
234
+ },
235
+ else => {},
236
+ }
237
238
self.step.dependOn(&cmd_step.step);
239
240
};
0 commit comments