[CMAKE] Set the /MP flag for MSVC_IDE globally.

svn path=/trunk/; revision=67686
This commit is contained in:
Amine Khaldi 2015-05-12 11:38:32 +00:00
parent 75b42e9678
commit cec93846d6
2 changed files with 6 additions and 5 deletions

View file

@ -64,6 +64,10 @@ include(cmake/compilerflags.cmake)
add_definitions(-D__REACTOS__)
if(MSVC_IDE)
add_compile_flags("/MP")
endif()
if(NOT CMAKE_CROSSCOMPILING)
add_definitions(-DTARGET_${ARCH})

View file

@ -82,11 +82,8 @@ elseif(CMAKE_BUILD_TYPE STREQUAL "Release")
add_compile_flags("/Ob2 /D NDEBUG")
endif()
if(MSVC_IDE)
add_compile_flags("/MP")
if(NOT DEFINED USE_FOLDER_STRUCTURE)
set(USE_FOLDER_STRUCTURE FALSE)
endif()
if(MSVC_IDE AND (NOT DEFINED USE_FOLDER_STRUCTURE))
set(USE_FOLDER_STRUCTURE FALSE)
endif()
if(NOT DEFINED RUNTIME_CHECKS)