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: docs/modules/ROOT/pages/install.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -325,7 +325,7 @@ Choose one of the presets from `CMakePresets.json` or edit the variants in `CMak
325
325
[NOTE]
326
326
====
327
327
Developers might also want to build a custom `Debug` LLVM configuration including optimizations, which allows for faster execution of tests.
328
-
The `relwithdebinfo` and `debwithopt` presets are provided for this purpose.
328
+
The `relwithdebinfo` and `optimizeddebug` presets are provided for this purpose.
329
329
Or if you prefer using the command line, set `CMAKE_CONFIGURATION_TYPES` or `CMAKE_BUILD_TYPE` to `Debug` and manually include the optimization flags to `-D CMAKE_CXX_FLAGS="/O2 /Zi"` (MSVC) or `-D CMAKE_CXX_FLAGS="-Og -g"`.
330
330
331
331
This should give you an optimized build with all debug features and flags, such as an appropriate https://learn.microsoft.com/en-us/cpp/standard-library/iterator-debug-level[`_ITERATOR_DEBUG_LEVEL`] and the `/MDd` flag in MSVC.
0 commit comments