The /MT(d) and /MD(d) options are relevant when the linker is invoked. They are documented at Compiler options listed by category and determine which libraries for the CRT are used during the linking process in the creation of an executable (i.e., an EXE or DLL). Static libraries contain object modules. When creating a static library the linker is not invoked to produce an executable.
/MT and /MD question
alice alice
40
Reputation points
I build on windows and use cmake vs2022
I try to build cef project and it always show 命令列 warning D9025: 覆寫 '/MD',以 '/MT'
Is it possible for four case?
/MT => generate static lib
/MT => generate dynamic lib
/MD => generate dynamic lib
/MD => generate static lib