mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[CMAKE] Set the /MP flag for MSVC_IDE globally.
svn path=/trunk/; revision=67686
This commit is contained in:
parent
75b42e9678
commit
cec93846d6
2 changed files with 6 additions and 5 deletions
|
@ -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})
|
||||
|
|
|
@ -82,12 +82,9 @@ 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)
|
||||
if(MSVC_IDE AND (NOT DEFINED USE_FOLDER_STRUCTURE))
|
||||
set(USE_FOLDER_STRUCTURE FALSE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED RUNTIME_CHECKS)
|
||||
set(RUNTIME_CHECKS FALSE)
|
||||
|
|
Loading…
Reference in a new issue