summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar chinhodado2015-01-09 10:59:01 -0500
committerGravatar chinhodado2015-01-09 10:59:01 -0500
commitf689e9738087eaaa717a9c5dd468b05b5eaa8ce3 (patch)
tree2a8be03c54c06aa74555b45ee5af91a16a31d140
parentMerge pull request #453 from yuriks/vs-parallel (diff)
downloadyuzu-f689e9738087eaaa717a9c5dd468b05b5eaa8ce3.tar.gz
yuzu-f689e9738087eaaa717a9c5dd468b05b5eaa8ce3.tar.xz
yuzu-f689e9738087eaaa717a9c5dd468b05b5eaa8ce3.zip
Cleanup: Remove redundant /Oi flag
`/Oi` is included in `/Ox` already
-rw-r--r--CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2cba5e8a1..76dc2ab1a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,12 +20,11 @@ else()
20 # /MP - Multi-threaded compilation 20 # /MP - Multi-threaded compilation
21 # /MD - Multi-threaded runtime 21 # /MD - Multi-threaded runtime
22 # /Ox - Full optimization 22 # /Ox - Full optimization
23 # /Oi - Use intrinsic functions
24 # /Oy- - Don't omit frame pointer 23 # /Oy- - Don't omit frame pointer
25 # /GR- - Disable RTTI 24 # /GR- - Disable RTTI
26 # /GS- - No stack buffer overflow checks 25 # /GS- - No stack buffer overflow checks
27 # /EHsc - C++-only exception handling semantics 26 # /EHsc - C++-only exception handling semantics
28 set(optimization_flags "/MP /MD /Ox /Oi /Oy- /DNDEBUG /GR- /GS- /EHsc") 27 set(optimization_flags "/MP /MD /Ox /Oy- /DNDEBUG /GR- /GS- /EHsc")
29 # /Zi - Output debugging information 28 # /Zi - Output debugging information
30 # /Zo - enahnced debug info for optimized builds 29 # /Zo - enahnced debug info for optimized builds
31 set(CMAKE_C_FLAGS_RELEASE "${optimization_flags} /Zi" CACHE STRING "" FORCE) 30 set(CMAKE_C_FLAGS_RELEASE "${optimization_flags} /Zi" CACHE STRING "" FORCE)