Mercurial > hg > orthanc
diff Resources/CMake/OrthancFrameworkParameters.cmake @ 3278:ce6a98f8ed85
New CMake option: "-DMSVC_MULTIPLE_PROCESSES=ON" for parallel build with Visual Studio
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 21 Feb 2019 12:05:48 +0100 |
parents | 95b0536be2c3 |
children | dd10fe965870 |
line wrap: on
line diff
--- a/Resources/CMake/OrthancFrameworkParameters.cmake Thu Feb 21 10:24:59 2019 +0100 +++ b/Resources/CMake/OrthancFrameworkParameters.cmake Thu Feb 21 12:05:48 2019 +0100 @@ -71,6 +71,7 @@ set(USE_PUGIXML ON CACHE BOOL "Use the Pugixml parser (turn off only for debug)") set(USE_LEGACY_JSONCPP OFF CACHE BOOL "Use the old branch 0.x.y of JsonCpp, that does not require a C++11 compiler (for LSB and old versions of Visual Studio)") set(USE_LEGACY_LIBICU OFF CACHE BOOL "Use icu icu4c-58_2, latest version not requiring a C++11 compiler (for LSB and old versions of Visual Studio)") +set(MSVC_MULTIPLE_PROCESSES OFF CACHE BOOL "Add the /MP option to build with multiple processes if using Visual Studio") mark_as_advanced(USE_GOOGLE_TEST_DEBIAN_PACKAGE) mark_as_advanced(SYSTEM_MONGOOSE_USE_CALLBACKS)