We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0c0d73 commit 4208dc4Copy full SHA for 4208dc4
vcbuild.bat
@@ -88,6 +88,18 @@ if defined NIGHTLY set TAG=nightly-%NIGHTLY%
88
89
@rem Set environment for msbuild
90
91
+@rem Look for Visual Studio 2015
92
+if not defined VS140COMNTOOLS goto vc-set-2013
93
+if not exist "%VS140COMNTOOLS%\..\..\vc\vcvarsall.bat" goto vc-set-2013
94
+if "%VCVARS_VER%" NEQ "140" (
95
+ call "%VS140COMNTOOLS%\..\..\vc\vcvarsall.bat"
96
+ SET VCVARS_VER=140
97
+)
98
+if not defined VCINSTALLDIR goto vc-set-2013
99
+set GYP_MSVS_VERSION=2015
100
+goto msbuild-found
101
+
102
+:vc-set-2013
103
@rem Look for Visual Studio 2013
104
if not defined VS120COMNTOOLS goto msbuild-not-found
105
if not exist "%VS120COMNTOOLS%\..\..\vc\vcvarsall.bat" goto msbuild-not-found
0 commit comments