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
This commit is contained in:
Brad King
2019-04-19 11:32:40 -04:00
parent 8542152626
commit 61f70e81a7
4 changed files with 27 additions and 1 deletions
@@ -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.