Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit d70e9bb

Browse files
committed
CMakeLists: add /MP compiler option
This speeds up build times.
1 parent e695f8a commit d70e9bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
1313

1414
if (MSVC)
1515
# TODO: re-enable /GL and /LTCG when we get a bigger build machine
16-
add_compile_options(/bigobj /GR- /permissive-)
16+
add_compile_options(/bigobj /GR- /permissive- /MP)
1717

1818
string(REGEX REPLACE "/GR" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
1919
# TODO: re-enable /GL and /LTCG when we get a bigger build machine

0 commit comments

Comments
 (0)