summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-07-18 18:20:18 (GMT)
committerBrad King <brad.king@kitware.com>2019-07-19 15:17:32 (GMT)
commit282d9f31685906cd45b27961ea013edab8bacd6b (patch)
treebf915418699585df323d39b2ca519c003814486a /Help/prop_tgt
parent79bcf4e1655ffa38e8f4740b19ec3a14ac567eec (diff)
downloadCMake-282d9f31685906cd45b27961ea013edab8bacd6b.zip
CMake-282d9f31685906cd45b27961ea013edab8bacd6b.tar.gz
CMake-282d9f31685906cd45b27961ea013edab8bacd6b.tar.bz2
MSVC: Document behavior when MSVC_RUNTIME_LIBRARY is not set
By default `CMAKE_MSVC_RUNTIME_LIBRARY` is not set. Document the default runtime library selection in that case. We already test it.
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r--Help/prop_tgt/MSVC_RUNTIME_LIBRARY.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/prop_tgt/MSVC_RUNTIME_LIBRARY.rst b/Help/prop_tgt/MSVC_RUNTIME_LIBRARY.rst
index 1e3f5e9..73792de 100644
--- a/Help/prop_tgt/MSVC_RUNTIME_LIBRARY.rst
+++ b/Help/prop_tgt/MSVC_RUNTIME_LIBRARY.rst
@@ -19,6 +19,9 @@ support per-configuration specification. For example, the code:
selects for the target ``foo`` a multi-threaded statically-linked runtime
library with or without debug information depending on the configuration.
+If this property is not set then CMake uses the default value
+``MultiThreaded$<$<CONFIG:Debug>:Debug>DLL`` to select a MSVC runtime library.
+
.. note::
This property has effect only when policy :policy:`CMP0091` is set to ``NEW``