ImGui demo window

This commit is contained in:
David Allemang
2024-07-01 17:24:04 -04:00
parent bc4421b754
commit 154427d5bc
8 changed files with 196 additions and 4 deletions

View File

@@ -11,12 +11,15 @@ pub fn build(b: *std.Build) void {
});
const vkmod = vk.module("vulkan-zig");
const cimgui = b.dependency("cimgui", .{});
const exe = b.addExecutable(.{
.name = "scratchzig",
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
});
exe.root_module.addImport("cimgui", cimgui.module("cimgui"));
const shaders = vkgen.ShaderCompileStep.create(
b,