- MSVC Release also needs the /Oi option for best performance.

This commit is contained in:
Christoph Oelckers 2013-10-09 15:54:56 +02:00
parent d89ece5802
commit cb74dd99ef
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ if( MSVC )
set( ALL_C_FLAGS "/GF /Gy /GR- /fp:fast" )
# Avoid CRT DLL dependancies in release builds
set( REL_C_FLAGS "/MT" )
set( REL_C_FLAGS "/MT /Oi" )
# Debug allocations in debug builds
set( DEB_C_FLAGS "/D _CRTDBG_MAP_ALLOC" )