Fix outdated README generation from build.zig instructions

This commit is contained in:
Codotaku
2023-06-02 09:02:16 +01:00
committed by GitHub
parent 7b0e3d5a9d
commit 97f5da4da6

View File

@@ -34,7 +34,7 @@ pub fn build(b: *Builder) void {
const exe = b.addExecutable("my-executable", "src/main.zig");
// Create a step that generates vk.zig (stored in zig-cache) from the provided vulkan registry.
const gen = vkgen.VkGenerateStep.create(b, "path/to/vk.xml", "vk.zig");
const gen = vkgen.VkGenerateStep.create(b, "path/to/vk.xml");
// Add the generated file as package to the final executable
exe.addModule("vulkan", gen.getModule());