MT

Tells the linker to search for unresolved references in a multithreaded, static run-time library. This content is specific to C++; it does not apply to DPC++.

Syntax

Linux:

None

Windows:

/MT

/MTd

Arguments

None

Default

/MT

The linker searches for unresolved references in a multithreaded, static run-time library.

Description

This option tells the linker to search for unresolved references in a multithreaded, static run-time library. You can also specify /MTd, where d indicates a debug version.

This option is processed by the compiler, which adds directives to the compiled object file that are processed by the linker.

IDE Equivalent

Visual Studio: Code Generation > Runtime Library

Eclipse: None

Alternate Options

None