yuzu-emu
/
yuzu
Archived
1
0
Fork 0

Cleanup: Remove redundant /Oi flag

`/Oi` is included in `/Ox` already
This commit is contained in:
chinhodado 2015-01-09 10:59:01 -05:00
parent e5cf344155
commit f689e97380
1 changed files with 1 additions and 2 deletions

View File

@ -20,12 +20,11 @@ else()
# /MP - Multi-threaded compilation # /MP - Multi-threaded compilation
# /MD - Multi-threaded runtime # /MD - Multi-threaded runtime
# /Ox - Full optimization # /Ox - Full optimization
# /Oi - Use intrinsic functions
# /Oy- - Don't omit frame pointer # /Oy- - Don't omit frame pointer
# /GR- - Disable RTTI # /GR- - Disable RTTI
# /GS- - No stack buffer overflow checks # /GS- - No stack buffer overflow checks
# /EHsc - C++-only exception handling semantics # /EHsc - C++-only exception handling semantics
set(optimization_flags "/MP /MD /Ox /Oi /Oy- /DNDEBUG /GR- /GS- /EHsc") set(optimization_flags "/MP /MD /Ox /Oy- /DNDEBUG /GR- /GS- /EHsc")
# /Zi - Output debugging information # /Zi - Output debugging information
# /Zo - enahnced debug info for optimized builds # /Zo - enahnced debug info for optimized builds
set(CMAKE_C_FLAGS_RELEASE "${optimization_flags} /Zi" CACHE STRING "" FORCE) set(CMAKE_C_FLAGS_RELEASE "${optimization_flags} /Zi" CACHE STRING "" FORCE)