From 14d356d0ab41c25635b7c1c02667601c2a3172a3 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 4aab3149b165fd..3588ac0a8edb9c 100644 --- a/vcbuild.bat +++ b/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 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