You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CMakePresets.json
+26-6Lines changed: 26 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -82,6 +82,24 @@
82
82
"MB_DEVENV_ALL_WARNINGS": "ON"
83
83
}
84
84
},
85
+
{
86
+
"name": "EveryWarnClang",
87
+
"hidden": true,
88
+
"description": "MaxWarnClang plus the mb_devenv_set_target_warnings Clang/AppleClang ALL_WARNINGS branch (-Weverything and tuned -Wno*) via global CMAKE_CXX_FLAGS. MB_DEVENV_ALL_WARNINGS is OFF so mb_devenv_set_target_warnings does not add the same -Weverything set again per target. Same third-party / FetchContent caveats as MaxWarnClang.",
"description": "Duplicates mb_devenv_set_target_warnings GNU compile options via global CMAKE_CXX_FLAGS so they apply project-wide; this can break builds that pull in third-party sources (e.g. FetchContent) that do not compile cleanly under -Werror and the rest. Does not pass -D_FORTIFY_SOURCE=3 here (glibc requires -O; Debug would fail with -Werror); mb_devenv_set_target_warnings still sets it for Release-family configs. Flattens non-Debug-only -f flags and -ftrivial-auto-var-init=zero like MaxWarnClang. Adds -Wno-unused-command-line-argument for parity. MB_DEVENV_ALL_WARNINGS is OFF (GNU has no ALL_WARNINGS branch in the macro).",
0 commit comments