forked from mirror/vulkan-zig
@@ -27,8 +27,7 @@ pub fn build(b: *std.Build) void {
|
|||||||
if (!std.fs.path.isAbsolute(path)) @panic("Make sure to assign an absolute path to the `registry` option (see: std.Build.pathFromRoot).\n");
|
if (!std.fs.path.isAbsolute(path)) @panic("Make sure to assign an absolute path to the `registry` option (see: std.Build.pathFromRoot).\n");
|
||||||
generate_cmd.addArg(path);
|
generate_cmd.addArg(path);
|
||||||
|
|
||||||
b.addModule(.{
|
_ = b.addModule("vulkan-zig", .{
|
||||||
.name = "vulkan-zig",
|
|
||||||
.source_file = generate_cmd.addOutputFileArg("vk.zig"),
|
.source_file = generate_cmd.addOutputFileArg("vk.zig"),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user