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 @@ -338,6 +338,10 @@ if "%target%"=="Build" (
338
338
)
339
339
if " %target% " == " node" if exist " %config% \cctest.exe" del " %config% \cctest.exe"
340
340
if defined msbuild_args set " extra_msbuild_args = %extra_msbuild_args% %msbuild_args% "
341
+ @ rem Setup env variables to use multiprocessor build
342
+ set UseMultiToolTask = True
343
+ set EnforceProcessCountAcrossBuilds = True
344
+ set MultiProcMaxCount = %NUMBER_OF_PROCESSORS%
341
345
msbuild node.sln %msbcpu% /t:%target% /p:Configuration=%config% /p:Platform=%msbplatform% /clp:NoItemAndPropertyList;Verbosity=minimal /nologo %extra_msbuild_args%
342
346
if errorlevel 1 (
343
347
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