Commit 305db12a authored by Bart van der Velden's avatar Bart van der Velden

Try parallel builds on Visual Studio by using the /MP flag

parent 97a5bc9f
......@@ -64,7 +64,7 @@ elseif(WIN32)
# /GR - Enable run-time type information
# /Zc:wchar_t - Treat wchar_t as built in type
# /Zc:forScope - Force conformance in for loop scope
set(CMAKE_CXX_FLAGS "/nologo /W4 /EHsc /Gd /GR /Zc:wchar_t /Zc:forScope"
set(CMAKE_CXX_FLAGS "/nologo /W4 /EHsc /Gd /GR /Zc:wchar_t /Zc:forScope /MP"
CACHE STRING "MSVC MT C++ flags " FORCE)
add_definitions(/D_UNICODE /DUNICODE)
add_definitions(-D_CONSOLE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment