diff options
author | Brad King <brad.king@kitware.com> | 2019-04-19 15:32:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-04-22 12:48:44 (GMT) |
commit | 61f70e81a708db126ba5e2d1135ff0e2a5ffba25 (patch) | |
tree | a740b4f4b8e7788b124a2c0a6a63048016dfee75 /Help/prop_tgt | |
parent | 8542152626590db6a13b20aa3d36214186c6b40d (diff) | |
download | CMake-61f70e81a708db126ba5e2d1135ff0e2a5ffba25.zip CMake-61f70e81a708db126ba5e2d1135ff0e2a5ffba25.tar.gz CMake-61f70e81a708db126ba5e2d1135ff0e2a5ffba25.tar.bz2 |
MSVC: Document and test behavior of empty MSVC_RUNTIME_LIBRARY
Extend tests added by commit fb3370b6a1 (MSVC: Add abstraction for
runtime library selection, 2019-04-10) to cover an empty value for
the property. It should result in no specific setting.
Issue: #19108
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r-- | Help/prop_tgt/MSVC_RUNTIME_LIBRARY-VALUES.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/prop_tgt/MSVC_RUNTIME_LIBRARY-VALUES.txt b/Help/prop_tgt/MSVC_RUNTIME_LIBRARY-VALUES.txt index 2bf71a9..6c61341 100644 --- a/Help/prop_tgt/MSVC_RUNTIME_LIBRARY-VALUES.txt +++ b/Help/prop_tgt/MSVC_RUNTIME_LIBRARY-VALUES.txt @@ -13,3 +13,8 @@ The value is ignored on non-MSVC compilers but an unsupported value will be rejected as an error when using a compiler targeting the MSVC ABI. + +The value may also be the empty string (``""``) in which case no runtime +library selection flag will be added explicitly by CMake. Note that with +:ref:`Visual Studio Generators` the native build system may choose to +add its own default runtime library selection flag. |