Summary:记录一些MS编译器的常用选项,容易被忽略的选项,方便查询!
MS Compiler Options
To Look Up Options:
http://msdn.microsoft.com/zh-cn/library/9s7c9wdw(v=VS.100).aspx
MS Compiler: cl.exe
MS Linker: link.exe
To Collect Usage of Some Options Here:
/nologo:
在编译器启动时取消显示版权标志,并在编译期间取消显示信息性消息。
Suppresses the display of the copyrightbanner when the compiler starts up and display of informational messages duringcompiling.
/FA,/FAs:
生成汇编代码。
/D:
Define a global macro while compiling.
/Dmacro: /DIS_DEBGU
/Dmacro=name: /DDEBGU=1