mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 11:33:31 +08:00
[CMAKE] Set the /MP flag for MSVC_IDE globally.
svn path=/trunk/; revision=67686
This commit is contained in:
parent
75b42e9678
commit
cec93846d6
@ -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,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)
|
||||
|
Loading…
Reference in New Issue
Block a user