summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bunnei2015-01-09 14:23:24 -0500
committerGravatar bunnei2015-01-09 14:23:24 -0500
commitd0ed01bc7f679d650322d4c299921c8a2a9f01f2 (patch)
treeea342ebd006cc2e2a3127b71ff4f8872bd13fb5d
parentMerge pull request #444 from yuriks/handle-reform2 (diff)
parentCleanup: Remove redundant /Oi flag (diff)
downloadyuzu-d0ed01bc7f679d650322d4c299921c8a2a9f01f2.tar.gz
yuzu-d0ed01bc7f679d650322d4c299921c8a2a9f01f2.tar.xz
yuzu-d0ed01bc7f679d650322d4c299921c8a2a9f01f2.zip
Merge pull request #454 from chinhodado/patch-1
Cleanup: Remove redundant /Oi flag
-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)