WHat are optimal settings for M$ VC++2005 Express?
When I compile podbot mm sources I'm getting the file about 335 KB (almost similar settings with mingw I'm getting the file about 280KB).
For general C/C++ compliation I have such command line:
/O2 /I "../hlsdk\multiplayer\dlls" /I "../hlsdk\multiplayer\engine" /I "../hlsdk\multiplayer\common" /I "../metamod-p\metamod" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "PODBOT_MM_EXPORTS" /D "_VC80_UPGRADE=0x0710" /D "_WINDLL" /D "_MBCS" /FD /EHsc /MT /Fo"Release\\" /Fd"Release\vc80.pdb" /W3 /nologo /c /Wp64 /TP /errorReport:prompt /D_CRT_SECURE_NO_DEPRECATE
For linking I have such command line:
/OUT:"Release/podbot_mm.dll" /INCREMENTAL:NO /NOLOGO /DLL /MANIFEST:NO /MAP:"pbmm.map" /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /IMPLIB:"Release/podbot_mm.lib" /MACHINE:X86 /ERRORREPORT
ROMPT kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
What I have to change/remove to get smaller, but still optimized (with /O2) file after compilation?