Is there any nmake option for compiling Visual C++ 2010 without the output dll or exe depends on the MSVCR100.dll ?
Asked
Active
Viewed 1,547 times
2
-
Only use /MT with dlls when you *really* know why you shouldn't. – Hans Passant Dec 11 '11 at 12:12
2 Answers
4
/MT compiler switch is used to statically link to CRT. You should add it to compiler options inside your makefile.

Nikola Smiljanić
- 26,745
- 6
- 48
- 60
0
with project settings, not with compiler keys. To do this, go to C/C++ Properties -> Code Generation and under Runtime Library select Multi-threaded (/MT) or Multi-threaded Debug (/MTd) from the drop-down.