From 91d5a25fe9583967731895caa6f87456279a6c18 Mon Sep 17 00:00:00 2001 From: David Refoua Date: Fri, 14 Oct 2022 20:02:03 +0330 Subject: [PATCH] use max cpu count switch for msbuild --- scripts/build.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build.ps1 b/scripts/build.ps1 index bf2f99a..c27d584 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -119,7 +119,8 @@ Pop-Location if($Compile) { Push-Location -Path $launcher Create-RC $version ($launcher + '\src\version.rc2'); - msbuild CmderLauncher.vcxproj /t:Clean,Build /p:configuration=Release + # https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference + msbuild CmderLauncher.vcxproj /t:Clean,Build /p:configuration=Release /m if ($LastExitCode -ne 0) { throw "msbuild failed to build the executable." }