summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-01-09 16:15:43 +0100
committerbunnei <bunneidev@gmail.com>2015-01-09 16:15:43 +0100
commite5cf344155cd3b20c47ae62afc8c0d66998cdea9 (patch)
treecb012468d60f8eeaf3f101718264b2720c1450c7
parentMerge pull request #255 from Subv/cbranch_3 (diff)
parentCMake: Enable VS parallel builds for a good reduction in compile times (diff)
downloadyuzu-e5cf344155cd3b20c47ae62afc8c0d66998cdea9.tar
yuzu-e5cf344155cd3b20c47ae62afc8c0d66998cdea9.tar.gz
yuzu-e5cf344155cd3b20c47ae62afc8c0d66998cdea9.tar.bz2
yuzu-e5cf344155cd3b20c47ae62afc8c0d66998cdea9.tar.lz
yuzu-e5cf344155cd3b20c47ae62afc8c0d66998cdea9.tar.xz
yuzu-e5cf344155cd3b20c47ae62afc8c0d66998cdea9.tar.zst
yuzu-e5cf344155cd3b20c47ae62afc8c0d66998cdea9.zip
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 884520cef..2cba5e8a1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,6 +17,7 @@ else()
# As far as I can tell, there's no way to override the CMake defaults while leaving user
# changes intact, so we'll just clobber everything and say sorry.
message(STATUS "Cache compiler flags ignored, please edit CMakeFiles.txt to change the flags.")
+ # /MP - Multi-threaded compilation
# /MD - Multi-threaded runtime
# /Ox - Full optimization
# /Oi - Use intrinsic functions
@@ -24,7 +25,7 @@ else()
# /GR- - Disable RTTI
# /GS- - No stack buffer overflow checks
# /EHsc - C++-only exception handling semantics
- set(optimization_flags "/MD /Ox /Oi /Oy- /DNDEBUG /GR- /GS- /EHsc")
+ set(optimization_flags "/MP /MD /Ox /Oi /Oy- /DNDEBUG /GR- /GS- /EHsc")
# /Zi - Output debugging information
# /Zo - enahnced debug info for optimized builds
set(CMAKE_C_FLAGS_RELEASE "${optimization_flags} /Zi" CACHE STRING "" FORCE)