Skip to content

Commit 1be7eb2

Browse files
committed
build: look for Visual Studio 2015 in vcbuild.bat
1 parent de224d6 commit 1be7eb2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

vcbuild.bat

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,17 @@ ENDLOCAL
106106
@rem Skip project generation if requested.
107107
if defined nobuild goto sign
108108

109+
@rem Look for Visual Studio 2015
110+
if not defined VS140COMNTOOLS goto vc-set-2013
111+
if not exist "%VS140COMNTOOLS%\..\..\vc\vcvarsall.bat" goto vc-set-2013
112+
if "%VCVARS_VER%" NEQ "140" (
113+
call "%VS140COMNTOOLS%\..\..\vc\vcvarsall.bat"
114+
SET VCVARS_VER=140
115+
)
116+
if not defined VCINSTALLDIR goto vc-set-2013
117+
set GYP_MSVS_VERSION=2015
118+
goto msbuild-found
119+
109120
@rem Look for Visual Studio 2013
110121
if not defined VS120COMNTOOLS goto msbuild-not-found
111122
if not exist "%VS120COMNTOOLS%\..\..\vc\vcvarsall.bat" goto msbuild-not-found

0 commit comments

Comments
 (0)