Browse Source

win,build: skip finding VS when not needed

PR-URL: https://github.com/nodejs/node/pull/8412
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
v7.x
João Reis 8 years ago
parent
commit
b57c962979
  1. 2
      vcbuild.bat

2
vcbuild.bat

@ -129,6 +129,8 @@ call :getnodeversion || exit /b 1
if "%target%"=="Clean" rmdir /Q /S "%~dp0%config%\node-v%FULLVERSION%-win-%target_arch%" > nul 2> nul if "%target%"=="Clean" rmdir /Q /S "%~dp0%config%\node-v%FULLVERSION%-win-%target_arch%" > nul 2> nul
if defined noprojgen if defined nobuild if defined nosign if not defined msi goto licensertf
@rem Set environment for msbuild @rem Set environment for msbuild
if defined target_env if "%target_env%" NEQ "vc2015" goto vc-set-2013 if defined target_env if "%target_env%" NEQ "vc2015" goto vc-set-2013

Loading…
Cancel
Save