Skip to content

Commit 370e821

Browse files
seishunchrisdickinson
authored andcommitted
build: remove support for VS 2010 and 2012
They can't compile io.js anyway. PR-URL: #156 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Bert Belder <[email protected]>
1 parent 6a29356 commit 370e821

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

vcbuild.bat

+2-24
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ ENDLOCAL
106106
if defined nobuild goto sign
107107

108108
@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
111111
if "%VCVARS_VER%" NEQ "120" (
112112
call "%VS120COMNTOOLS%\..\..\vc\vcvarsall.bat"
113113
SET VCVARS_VER=120
@@ -116,28 +116,6 @@ if not defined VCINSTALLDIR goto msbuild-not-found
116116
set GYP_MSVS_VERSION=2013
117117
goto msbuild-found
118118

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-
141119
:msbuild-not-found
142120
echo Build skipped. To build, this file needs to run from VS cmd prompt.
143121
goto run

0 commit comments

Comments
 (0)