Skip to content

Commit

Permalink
Enable multiprocessor build
Browse files Browse the repository at this point in the history
  • Loading branch information
SergiusTheBest committed Jul 6, 2022
1 parent 65e4d53 commit 7f066da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMake/DefaultCXX.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ if(MSVC)
create_property_reader("DEFAULT_CXX_DEBUG_INFORMATION_FORMAT")

set_target_properties("${PROPS_TARGET}" PROPERTIES MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
target_compile_options("${PROPS_TARGET}" PRIVATE /MP)
set_config_specific_property("DEFAULT_CXX_EXCEPTION_HANDLING" "/EHsc")
set_config_specific_property("DEFAULT_CXX_DEBUG_INFORMATION_FORMAT" "/Zi")
endif()

0 comments on commit 7f066da

Please sign in to comment.