📜  visual studio build static - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:38.644000             🧑  作者: Mango

代码示例1
For the C-runtime go to the project settings, choose C/C++ then 'Code Generation'. Change the 'runtime library' setting to 'multithreaded' instead of 'multithreaded dll'.

If you are using any other libraries you may need to tell the linker to ignore the dynamically linked CRT explicitly.