remove unused cppflags in build.zig
This commit is contained in:
parent
787bf3c658
commit
32dc17c087
1 changed files with 0 additions and 13 deletions
13
build.zig
13
build.zig
|
@ -1,19 +1,6 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const builtin = @import("builtin");
|
const builtin = @import("builtin");
|
||||||
|
|
||||||
const cppflags = [_][]const u8{
|
|
||||||
"-fcolor-diagnostics",
|
|
||||||
"-std=c++20",
|
|
||||||
"-Wall",
|
|
||||||
"-Wextra",
|
|
||||||
"-Werror",
|
|
||||||
"-Wno-unqualified-std-cast-call",
|
|
||||||
"-Wno-bitwise-instead-of-logical", //for notcurses
|
|
||||||
"-fno-sanitize=undefined",
|
|
||||||
"-gen-cdb-fragment-path",
|
|
||||||
".cache/cdb",
|
|
||||||
};
|
|
||||||
|
|
||||||
pub fn build(b: *std.Build) void {
|
pub fn build(b: *std.Build) void {
|
||||||
const enable_tracy_option = b.option(bool, "enable_tracy", "Enable tracy client library (default: no)");
|
const enable_tracy_option = b.option(bool, "enable_tracy", "Enable tracy client library (default: no)");
|
||||||
const optimize_deps_option = b.option(bool, "optimize_deps", "Enable optimization for dependecies (default: yes)");
|
const optimize_deps_option = b.option(bool, "optimize_deps", "Enable optimization for dependecies (default: yes)");
|
||||||
|
|
Loading…
Add table
Reference in a new issue