File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -373,6 +373,10 @@ if "%target%"=="Build" (
373
373
)
374
374
if " %target% " == " node" if exist " %config% \cctest.exe" del " %config% \cctest.exe"
375
375
if defined msbuild_args set " extra_msbuild_args = %extra_msbuild_args% %msbuild_args% "
376
+ @ rem Setup env variables to use multiprocessor build
377
+ set UseMultiToolTask = True
378
+ set EnforceProcessCountAcrossBuilds = True
379
+ set MultiProcMaxCount = %NUMBER_OF_PROCESSORS%
376
380
msbuild node.sln %msbcpu% /t:%target% /p:Configuration=%config% /p:Platform=%msbplatform% /clp:NoItemAndPropertyList;Verbosity=minimal /nologo %extra_msbuild_args%
377
381
if errorlevel 1 (
378
382
if not defined project_generated echo Building Node with reused solution failed. To regenerate project files use " vcbuild projgen"
You can’t perform that action at this time.
0 commit comments