We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8452ae1 commit c726b13Copy full SHA for c726b13
1 file changed
vcbuild.bat
@@ -112,10 +112,7 @@ call :getnodeversion || exit /b 1
112
113
@rem Set environment for msbuild
114
115
-if "%target_env%"=="vc2015" goto vc-set-2015
116
-if "%target_env%"=="vc2013" goto vc-set-2013
117
-
118
-:vc-set-2015
+if defined target_env if "%target_env%" NEQ "vc2015" goto vc-set-2013
119
@rem Look for Visual Studio 2015
120
echo Looking for Visual Studio 2015
121
if not defined VS140COMNTOOLS goto vc-set-2013
@@ -139,6 +136,7 @@ set PLATFORM_TOOLSET=v140
139
136
goto msbuild-found
140
137
141
138
:vc-set-2013
+if defined target_env if "%target_env%" NEQ "vc2013" goto msbuild-not-found
142
@rem Look for Visual Studio 2013
143
echo Looking for Visual Studio 2013
144
if not defined VS120COMNTOOLS goto msbuild-not-found
0 commit comments