Imported Upstream version 3.25.0
[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 compilers not targeting the MSVC ABI, but an
15 unsupported value will be rejected as an error when using a compiler
16 targeting the MSVC ABI.
17
18 The value may also be the empty string (``""``) in which case no runtime
19 library selection flag will be added explicitly by CMake.  Note that with
20 :ref:`Visual Studio Generators` the native build system may choose to
21 add its own default runtime library selection flag.