diff options
author | Brad King <brad.king@kitware.com> | 2019-07-19 15:55:51 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-07-19 15:57:10 (GMT) |
commit | dcdeade5ee2c1410563fc1bd422ea3a3acc2febc (patch) | |
tree | 58ce40057aa1ff63ceb3255d0499c3f3803251af /Help/variable | |
parent | 6618cbf38aa8298a5881669d8b095a4110f102f6 (diff) | |
parent | 282d9f31685906cd45b27961ea013edab8bacd6b (diff) | |
download | CMake-dcdeade5ee2c1410563fc1bd422ea3a3acc2febc.zip CMake-dcdeade5ee2c1410563fc1bd422ea3a3acc2febc.tar.gz CMake-dcdeade5ee2c1410563fc1bd422ea3a3acc2febc.tar.bz2 |
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
Diffstat (limited to 'Help/variable')
-rw-r--r-- | Help/variable/CMAKE_MSVC_RUNTIME_LIBRARY.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_MSVC_RUNTIME_LIBRARY.rst b/Help/variable/CMAKE_MSVC_RUNTIME_LIBRARY.rst index 6ed68c9..8b54e7e 100644 --- a/Help/variable/CMAKE_MSVC_RUNTIME_LIBRARY.rst +++ b/Help/variable/CMAKE_MSVC_RUNTIME_LIBRARY.rst @@ -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`` |