From 14dc9ffbf289e49ed2e9ca6c495a270082837ea3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Reis?= Date: Sun, 4 Sep 2016 22:24:31 +0100 Subject: [PATCH] win,build: skip finding VS when not needed PR-URL: https://github.com/nodejs/node/pull/8412 Reviewed-By: Ben Noordhuis --- vcbuild.bat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vcbuild.bat b/vcbuild.bat index a8bc3c91c78e01..d94836a888da43 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -122,6 +122,8 @@ call :getnodeversion || exit /b 1 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 if defined target_env if "%target_env%" NEQ "vc2015" goto vc-set-2013