blob: 6c6134197bee5f3000ff44b1e9c910b6dcf4ba76 [file] [log] [blame]
Haibo Huang241d3982020-02-28 16:39:50 -08001``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
14The value is ignored on non-MSVC compilers but an unsupported value will
15be rejected as an error when using a compiler targeting the MSVC ABI.
16
17The value may also be the empty string (``""``) in which case no runtime
18library selection flag will be added explicitly by CMake. Note that with
19:ref:`Visual Studio Generators` the native build system may choose to
20add its own default runtime library selection flag.