Merge topic 'msvc-runtime-library-doc'

282d9f3168 MSVC: Document behavior when MSVC_RUNTIME_LIBRARY is not set

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3573
This commit is contained in:
Brad King
2019-07-19 15:55:51 +00:00
committed by Kitware Robot
3 changed files with 11 additions and 1 deletions

View File

@@ -20,6 +20,11 @@ support per-configuration specification. For example, the code:
selects for all following targets a multi-threaded statically-linked runtime
library with or without debug information depending on the configuration.
If this variable is not set then the :prop_tgt:`MSVC_RUNTIME_LIBRARY` target
property will not be set automatically. If that property is not set then
CMake uses the default value ``MultiThreaded$<$<CONFIG:Debug>:Debug>DLL``
to select a MSVC runtime library.
.. note::
This variable has effect only when policy :policy:`CMP0091` is set to ``NEW``