6c6134197bee5f3000ff44b1e9c910b6dcf4ba76
[platform/upstream/cmake.git] / Help / prop_tgt / MSVC_RUNTIME_LIBRARY-VALUES.txt
1 ``MultiThreaded``
2   Compile with ``-MT`` or equivalent flag(s) to use a multi-threaded
3   statically-linked runtime library.
4 ``MultiThreadedDLL``
5   Compile with ``-MD`` or equivalent flag(s) to use a multi-threaded
6   dynamically-linked runtime library.
7 ``MultiThreadedDebug``
8   Compile with ``-MTd`` or equivalent flag(s) to use a multi-threaded
9   statically-linked runtime library.
10 ``MultiThreadedDebugDLL``
11   Compile with ``-MDd`` or equivalent flag(s) to use a multi-threaded
12   dynamically-linked runtime library.
13
14 The value is ignored on non-MSVC compilers but an unsupported value will
15 be rejected as an error when using a compiler targeting the MSVC ABI.
16
17 The value may also be the empty string (``""``) in which case no runtime
18 library selection flag will be added explicitly by CMake.  Note that with
19 :ref:`Visual Studio Generators` the native build system may choose to
20 add its own default runtime library selection flag.