@@ -106,8 +106,8 @@ ENDLOCAL
106
106
if defined nobuild goto sign
107
107
108
108
@ rem Look for Visual Studio 2013
109
- if not defined VS120COMNTOOLS goto vc-set-2012
110
- if not exist " %VS120COMNTOOLS% \..\..\vc\vcvarsall.bat" goto vc-set-2012
109
+ if not defined VS120COMNTOOLS goto msbuild-not-found
110
+ if not exist " %VS120COMNTOOLS% \..\..\vc\vcvarsall.bat" goto msbuild-not-found
111
111
if " %VCVARS_VER% " NEQ " 120" (
112
112
call " %VS120COMNTOOLS% \..\..\vc\vcvarsall.bat"
113
113
SET VCVARS_VER = 120
@@ -116,28 +116,6 @@ if not defined VCINSTALLDIR goto msbuild-not-found
116
116
set GYP_MSVS_VERSION = 2013
117
117
goto msbuild-found
118
118
119
- :vc-set-2012
120
- @ rem Look for Visual Studio 2012
121
- if not defined VS110COMNTOOLS goto vc-set-2010
122
- if not exist " %VS110COMNTOOLS% \..\..\vc\vcvarsall.bat" goto vc-set-2010
123
- if " %VCVARS_VER% " NEQ " 110" (
124
- call " %VS110COMNTOOLS% \..\..\vc\vcvarsall.bat"
125
- SET VCVARS_VER = 110
126
- )
127
- if not defined VCINSTALLDIR goto msbuild-not-found
128
- set GYP_MSVS_VERSION = 2012
129
- goto msbuild-found
130
-
131
- :vc-set-2010
132
- if not defined VS100COMNTOOLS goto msbuild-not-found
133
- if not exist " %VS100COMNTOOLS% \..\..\vc\vcvarsall.bat" goto msbuild-not-found
134
- if " %VCVARS_VER% " NEQ " 100" (
135
- call " %VS100COMNTOOLS% \..\..\vc\vcvarsall.bat"
136
- SET VCVARS_VER = 100
137
- )
138
- if not defined VCINSTALLDIR goto msbuild-not-found
139
- goto msbuild-found
140
-
141
119
:msbuild-not-found
142
120
echo Build skipped. To build, this file needs to run from VS cmd prompt.
143
121
goto run
0 commit comments