Grass, debugger, noise height gen
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user