Skip to content

Commit

Permalink
make build options snake_case; helps hexops/mach#1157
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Gutekanst <[email protected]>
  • Loading branch information
slimsag committed Feb 10, 2024
1 parent 13c7cb7 commit 86e4e2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const prefix = "libs/DirectXShaderCompiler";
pub fn build(b: *Build) !void {
const optimize = b.standardOptimizeOption(.{});
const target = b.standardTargetOptions(.{});
const from_source = b.option(bool, "from-source", "Build dxcompiler from source (large C++ codebase)") orelse false;
const debug_symbols = b.option(bool, "debug-symbols", "Whether to produce detailed debug symbols (g0) or not. These increase binary size considerably.") orelse false;
const from_source = b.option(bool, "from_source", "Build dxcompiler from source (large C++ codebase)") orelse false;
const debug_symbols = b.option(bool, "debug_symbols", "Whether to produce detailed debug symbols (g0) or not. These increase binary size considerably.") orelse false;

const machdxcompiler: struct { lib: *std.Build.Step.Compile, lib_path: ?[]const u8 } = blk: {
if (!from_source) {
Expand Down

0 comments on commit 86e4e2e

Please sign in to comment.