mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Replace our hard-coded default for `/Zi` with a first-class abstraction to select the debug information format an enumeration of logical names. We've long hesitated to do this because the idea of "debug information format" touches on related concepts on several platforms. Avoid that scope creep by simply defining an abstraction that applies only when targeting the MSVC ABI on Windows. Removing the old default flag requires a policy because existing projects may rely on string processing to edit them and choose a runtime library under the old behavior. Add policy CMP0141 to provide compatibility. Fixes: #10189
6 lines
201 B
Plaintext
6 lines
201 B
Plaintext
^CMake Error in CMakeLists.txt:
|
|
MSVC_DEBUG_INFORMATION_FORMAT value 'BogusValue' not known for this (C|CXX)
|
|
compiler.
|
|
+
|
|
CMake Generate step failed\. Build files cannot be regenerated correctly\.$
|