diff options
author | Brad King <brad.king@kitware.com> | 2023-09-05 18:54:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-09-05 19:01:04 (GMT) |
commit | 91dc94c4aca611865bf5cb4e9fec6b3422d1de9a (patch) | |
tree | a2069a6c03e0a2b42d9e168c5489002ac2fbaf7f /Help/prop_tgt | |
parent | 8708b41532a01479a96b2d5a67e54b7a1397306f (diff) | |
download | CMake-91dc94c4aca611865bf5cb4e9fec6b3422d1de9a.zip CMake-91dc94c4aca611865bf5cb4e9fec6b3422d1de9a.tar.gz CMake-91dc94c4aca611865bf5cb4e9fec6b3422d1de9a.tar.bz2 |
Help: MSVC_DEBUG_INFORMATION_FORMAT is initialized from associated variable
The `CMAKE_MSVC_DEBUG_INFORMATION_FORMAT` variable docs mention that it
initializes the `MSVC_DEBUG_INFORMATION_FORMAT` target property, but the
property's docs was missing any mention of the variable.
Follow the pattern from commit c1b07ca9da (Help: MSVC_RUNTIME_LIBRARY is
initialized from associated variable, 2022-08-13, v3.25.0-rc1~317^2).
Fixes: #25216
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r-- | Help/prop_tgt/MSVC_DEBUG_INFORMATION_FORMAT.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Help/prop_tgt/MSVC_DEBUG_INFORMATION_FORMAT.rst b/Help/prop_tgt/MSVC_DEBUG_INFORMATION_FORMAT.rst index 0c7845c..7e08b48 100644 --- a/Help/prop_tgt/MSVC_DEBUG_INFORMATION_FORMAT.rst +++ b/Help/prop_tgt/MSVC_DEBUG_INFORMATION_FORMAT.rst @@ -21,6 +21,8 @@ support per-configuration specification. For example, the code: selects for the target ``foo`` the program database debug information format for the Debug configuration. +This property is initialized from the value of the +:variable:`CMAKE_MSVC_DEBUG_INFORMATION_FORMAT` variable, if it is set. If this property is not set, CMake selects a debug information format using the default value ``$<$<CONFIG:Debug,RelWithDebInfo>:ProgramDatabase>``, if supported by the compiler, and otherwise |