aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2016-11-10 17:53:33 -0800
committerGitHub <noreply@github.com>2016-11-10 17:53:33 -0800
commit02b45c5a55515ae2e732b850e2f1bc2f45efde9e (patch)
tree91a728d286d1d64fd088bb4d6c526d5ea223019f
parenta2b8d5870a8f1f97268cd413d877d79567e2521a (diff)
parent60c61d9305e6e5cddbd130863c2ded67ad7cc0c4 (diff)
downloadvcpkg-02b45c5a55515ae2e732b850e2f1bc2f45efde9e.tar.gz
vcpkg-02b45c5a55515ae2e732b850e2f1bc2f45efde9e.zip
Merge pull request #274 from Morten242/multithreaded_msbuild_build
Add /m switch to vcpkg_build_msbuild.cmake
-rw-r--r--scripts/cmake/vcpkg_build_msbuild.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/cmake/vcpkg_build_msbuild.cmake b/scripts/cmake/vcpkg_build_msbuild.cmake
index 5b422fe5e..df255c745 100644
--- a/scripts/cmake/vcpkg_build_msbuild.cmake
+++ b/scripts/cmake/vcpkg_build_msbuild.cmake
@@ -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() \ No newline at end of file
+endfunction()