summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-policies.7.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-06-09 16:11:49 (GMT)
committerBrad King <brad.king@kitware.com>2022-06-09 16:24:33 (GMT)
commit7d73e88d3a7490cf1047369da8292a57c0b60bce (patch)
treec2d19d741e502df1f4bf064b28037287085cd35d /Help/manual/cmake-policies.7.rst
parent84da420a29155e206cef48fc7b05bf818539feb6 (diff)
downloadCMake-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/manual/cmake-policies.7.rst')
-rw-r--r--Help/manual/cmake-policies.7.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst
index 1447c17..d99afe3 100644
--- a/Help/manual/cmake-policies.7.rst
+++ b/Help/manual/cmake-policies.7.rst
@@ -59,7 +59,7 @@ Policies Introduced by CMake 3.24
:maxdepth: 1
CMP0139: The if() command supports path comparisons using PATH_EQUAL operator. </policy/CMP0139>
- CMP0138: MSVC compilers use -ZI instead of /Zi for x86 and x64 by default. </policy/CMP0138>
+ CMP0138: Placeholder for reverted policy. </policy/CMP0138>
CMP0137: try_compile() passes platform variables in project mode. </policy/CMP0137>
CMP0136: Watcom runtime library flags are selected by an abstraction. </policy/CMP0136>
CMP0135: ExternalProject ignores timestamps in archives by default for the URL download method. </policy/CMP0135>