diff options
author | Brad King <brad.king@kitware.com> | 2022-06-09 16:11:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-06-09 16:24:33 (GMT) |
commit | 7d73e88d3a7490cf1047369da8292a57c0b60bce (patch) | |
tree | c2d19d741e502df1f4bf064b28037287085cd35d /Help/release | |
parent | 84da420a29155e206cef48fc7b05bf818539feb6 (diff) | |
download | CMake-7d73e88d3a7490cf1047369da8292a57c0b60bce.zip CMake-7d73e88d3a7490cf1047369da8292a57c0b60bce.tar.gz CMake-7d73e88d3a7490cf1047369da8292a57c0b60bce.tar.bz2 |
MSVC: Revert "Default to -ZI instead of /Zi for x86 and x64"
Revert commit 5fcadc481e (MSVC: Default to -ZI instead of /Zi for x86
and x64, 2022-05-24). The `-ZI` flag is incompatible with the `-GL`
flag used for IPO, and so is not an unconditionally better default.
Revert the change pending future design of a first-class setting for
MSVC debug info format that can be automatically reconciled with IPO
settings.
That commit introduced policy CMP0138, but we already have later policy
numbers used too. Leave placeholder text to avoid policy renumbering.
Issue: #23607, #10189
Diffstat (limited to 'Help/release')
-rw-r--r-- | Help/release/3.24.rst | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Help/release/3.24.rst b/Help/release/3.24.rst index 05fd848..f347acb 100644 --- a/Help/release/3.24.rst +++ b/Help/release/3.24.rst @@ -319,9 +319,6 @@ Deprecated and Removed Features Other Changes ============= -* With MSVC compilers, debug configurations now use ``-ZI`` by default - instead of ``/Zi``. See policy :policy:`CMP0138`. - * CMake no longer sets environment variables like :envvar:`CC`, :envvar:`CXX`, etc. when enabling the corresponding language during the first CMake run in a build directory. See policy :policy:`CMP0132`. |