aboutsummaryrefslogtreecommitdiff
path: root/cmake/compiler
diff options
context:
space:
mode:
authorclick <none@none>2010-11-19 13:43:13 +0100
committerclick <none@none>2010-11-19 13:43:13 +0100
commit30908638cbf2392201874b5b96197643489737d9 (patch)
tree0b5bf1ffa6db343f36efd327b69f2183e8c1fcca /cmake/compiler
parent3a18e4afcc493350795d6e3daae0e16fd10d3427 (diff)
Core/Buildsystem: Set up mutliprocess compiles for all buildmodes (non-PCH/PCH with and without debugmodes)
--HG-- branch : trunk
Diffstat (limited to 'cmake/compiler')
-rw-r--r--cmake/compiler/msvc/settings.cmake5
1 files changed, 1 insertions, 4 deletions
diff --git a/cmake/compiler/msvc/settings.cmake b/cmake/compiler/msvc/settings.cmake
index fd96ea016e1..5bbadb18013 100644
--- a/cmake/compiler/msvc/settings.cmake
+++ b/cmake/compiler/msvc/settings.cmake
@@ -31,10 +31,7 @@ endif()
add_definitions(-D_BUILD_DIRECTIVE="$(ConfigurationName)")
# multithreaded compiling on VS
-if((NOT USE_COREPCH) AND (NOT USE_SCRIPTPCH))
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
- message(STATUS "MSVC: PCH not used - enabled multithreaded compiling")
-endif()
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
# Define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES - eliminates the warning by changing the strcpy call to strcpy_s, which prevents buffer overruns
add_definitions(-D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES)