Help: Fix MSVC_DEBUG_INFORMATION_FORMAT description of example

This commit is contained in:
AJIOB 2025-01-22 13:10:03 +03:00 committed by Brad King
parent 2f8e643d9d
commit 49dcd1ce5d
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ support per-configuration specification. For example, the code:
MSVC_DEBUG_INFORMATION_FORMAT "$<$<CONFIG:Debug,RelWithDebInfo>:ProgramDatabase>")
selects for the target ``foo`` the program database debug information format
for the Debug configuration.
for the ``Debug`` and ``RelWithDebInfo`` configurations.
This property is initialized from the value of the
:variable:`CMAKE_MSVC_DEBUG_INFORMATION_FORMAT` variable, if it is set.

View File

@ -21,7 +21,7 @@ support per-configuration specification. For example, the code:
set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT "$<$<CONFIG:Debug,RelWithDebInfo>:ProgramDatabase>")
selects for all following targets the program database debug information format
for the Debug configuration.
for the ``Debug`` and ``RelWithDebInfo`` configurations.
If this variable is not set, the :prop_tgt:`MSVC_DEBUG_INFORMATION_FORMAT`
target property will not be set automatically. If that property is not set,