Grass, debugger, noise height gen

This commit is contained in:
2025-11-30 00:06:04 +01:00
parent b4b4c69ec3
commit 0fbc7f32f2
11 changed files with 131 additions and 18 deletions

View File

@@ -5,6 +5,7 @@ const zon = @import("build.zig.zon");
pub fn build(b: *std.Build) !void {
const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{});
const llvm = b.option(bool, "llvm", "Use LLVM and LLD") orelse false;
const vulkan_dep = b.dependency("vulkan_zig", .{ .registry = b.path("vendor/vk.xml") });
const zglfw_dep = b.dependency("zglfw", .{ .import_vulkan = true });
@@ -36,6 +37,8 @@ pub fn build(b: *std.Build) !void {
const exe = b.addExecutable(.{
.name = "voxel-game",
.root_module = exe_mod,
.use_llvm = llvm,
.use_lld = llvm,
});
b.installArtifact(exe);