Author: akhaldi
Date: Tue May 12 11:38:32 2015
New Revision: 67686
URL:
http://svn.reactos.org/svn/reactos?rev=67686&view=rev
Log:
[CMAKE] Set the /MP flag for MSVC_IDE globally.
Modified:
trunk/reactos/CMakeLists.txt
trunk/reactos/cmake/msvc.cmake
Modified: trunk/reactos/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/CMakeLists.txt?rev=67686&a…
==============================================================================
--- trunk/reactos/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/CMakeLists.txt [iso-8859-1] Tue May 12 11:38:32 2015
@@ -63,6 +63,10 @@
include(cmake/compilerflags.cmake)
add_definitions(-D__REACTOS__)
+
+if(MSVC_IDE)
+ add_compile_flags("/MP")
+endif()
if(NOT CMAKE_CROSSCOMPILING)
Modified: trunk/reactos/cmake/msvc.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/msvc.cmake?rev=67686…
==============================================================================
--- trunk/reactos/cmake/msvc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/msvc.cmake [iso-8859-1] Tue May 12 11:38:32 2015
@@ -82,11 +82,8 @@
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)