From 30908638cbf2392201874b5b96197643489737d9 Mon Sep 17 00:00:00 2001 From: click Date: Fri, 19 Nov 2010 13:43:13 +0100 Subject: [PATCH] Core/Buildsystem: Set up mutliprocess compiles for all buildmodes (non-PCH/PCH with and without debugmodes) --HG-- branch : trunk --- cmake/compiler/msvc/settings.cmake | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cmake/compiler/msvc/settings.cmake b/cmake/compiler/msvc/settings.cmake index fd96ea016e..5bbadb1801 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)