mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 15:29:06 +08:00
Merge pull request #274 from Morten242/multithreaded_msbuild_build
Add /m switch to vcpkg_build_msbuild.cmake
This commit is contained in:
commit
02b45c5a55
@ -55,6 +55,7 @@ function(vcpkg_build_msbuild)
|
||||
/p:Configuration=${_csc_RELEASE_CONFIGURATION}
|
||||
/p:Platform=${_csc_PLATFORM}
|
||||
/p:VCPkgLocalAppDataDisabled=true
|
||||
/m
|
||||
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel
|
||||
LOGNAME build-${TARGET_TRIPLET}-rel
|
||||
)
|
||||
@ -66,7 +67,8 @@ function(vcpkg_build_msbuild)
|
||||
/p:Configuration=${_csc_DEBUG_CONFIGURATION}
|
||||
/p:Platform=${_csc_PLATFORM}
|
||||
/p:VCPkgLocalAppDataDisabled=true
|
||||
/m
|
||||
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg
|
||||
LOGNAME build-${TARGET_TRIPLET}-dbg
|
||||
)
|
||||
endfunction()
|
||||
endfunction()
|
||||
|
Loading…
Reference in New Issue
Block a user