VC编译和连接选项

编译参数

Release

/nologo /ML  /W3 /GX          /O2 "NDEBUG" /D  /Fp"Release/Eap.pch" /YX /Fo"Release/" /Fd"Release/"  /FD /c

Release(PDB)

/nologo /ML  /W3 /GX      /Zi  /O2 "NDEBUG" /D  /Fp"Release/Eap.pch" /YX /Fo"Release/" /Fd"Release/"  /FD /c

Debug

/nologo /MLd /W3 /Gm  /GX /ZI  /Od "_DEBUG" /D  /Fp"Debug/Eap.pch"  /YX /Fo"Debug/"  /Fd"Debug/"   /FD /GZ /c

 

连接参数

Release

/nologo /dll /incremental:no  /pdb:"Release/Eap.pdb"             /out:"Release/Eap.dll" /implib:"Release/Eap.lib"

Release(PDB)

/nologo /dll /incremental:no  /pdb:"Release/Eap.pdb" /debug   /out:"Release/Eap.dll"  /implib:"Release/Eap.lib"

Debug

/nologo /dll /incremental:yes  /pdb:"Debug/Eap.pdb" /debug   /out:"Debug/Eap.dll"   /implib:"Debug/Eap.lib"  /pdbtype:sept

 

 

posted @ 2010-07-27 15:14  ahuo  阅读(489)  评论(0编辑  收藏  举报