1
0
Fork 0
forked from vv/efemra
This commit is contained in:
Vivianne 2022-07-08 01:52:31 -07:00
parent 352da70aa4
commit 28d6f4be15
3 changed files with 16 additions and 0 deletions

View file

@ -6,6 +6,7 @@ const pkgs = @import("deps.zig").pkgs;
const build_pkgs = @import("deps.zig").build_pkgs;
const build_glfw = build_pkgs.build_glfw;
const build_vma = build_pkgs.build_vma;
const build_imgui = build_pkgs.build_imgui;
const vkgen = build_pkgs.build_vulkan;
pub const ResourceGenStep = struct {
@ -100,6 +101,9 @@ pub fn build(b: *std.build.Builder) void {
exe.addPackage(pkgs.vma);
build_vma.linkVma(exe, gen.output_file.getPath(), mode, target);
exe.addPackage(pkgs.imgui);
build_imgui.link(exe);
exe.install();
const run_cmd = exe.run();

View file

@ -4,3 +4,5 @@ git https://github.com/viviicat/Zig-VMA.git zig-0.10 vma.zig 4eb07330e875fb5109f
git https://github.com/Snektron/vulkan-zig.git fdf43d846a4c3ff4d977bd4395898e4e16ca62cf generator/index.zig fdf43d846a4c3ff4d977bd4395898e4e16ca62cf
git https://github.com/hexops/mach-glfw.git 99bf7df61b9afe7c80aae29d664a566f42a8db35 build.zig 99bf7df61b9afe7c80aae29d664a566f42a8db35
git https://github.com/viviicat/Zig-VMA.git zig-0.10 build.zig 4eb07330e875fb5109f855ae901f3e21df95c897
git https://github.com/SpexGuy/Zig-ImGui.git 0a2cfca89de2ef1ff5a346c6e2c29e8b3347d2e3 zig-imgui/imgui.zig 0a2cfca89de2ef1ff5a346c6e2c29e8b3347d2e3
git https://github.com/SpexGuy/Zig-ImGui.git 0a2cfca89de2ef1ff5a346c6e2c29e8b3347d2e3 zig-imgui/imgui_build.zig 0a2cfca89de2ef1ff5a346c6e2c29e8b3347d2e3

View file

@ -14,6 +14,11 @@ deps:
url: "https://github.com/viviicat/Zig-VMA.git"
ref: zig-0.10
root: vma.zig
imgui:
git:
url: "https://github.com/SpexGuy/Zig-ImGui.git"
ref: 0a2cfca89de2ef1ff5a346c6e2c29e8b3347d2e3
root: zig-imgui/imgui.zig
build_deps:
build_vulkan:
git:
@ -30,3 +35,8 @@ build_deps:
url: "https://github.com/viviicat/Zig-VMA.git"
ref: zig-0.10
root: build.zig
build_imgui:
git:
url: "https://github.com/SpexGuy/Zig-ImGui.git"
ref: 0a2cfca89de2ef1ff5a346c6e2c29e8b3347d2e3
root: zig-imgui/imgui_build.zig