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 ff99cd5 commit 0602fbbCopy full SHA for 0602fbb
1 file changed
vcbuild.bat
@@ -101,6 +101,16 @@ if defined nobuild goto sign
101
102
@rem Bail out early if not running in VS build env.
103
if defined VCINSTALLDIR goto msbuild-found
104
+
105
+@rem Look for Visual Studio 2012
106
+if not defined VS110COMNTOOLS goto vc-set-2010
107
+if not exist "%VS110COMNTOOLS%\..\..\vc\vcvarsall.bat" goto vc-set-2010
108
+call "%VS110COMNTOOLS%\..\..\vc\vcvarsall.bat"
109
+if not defined VCINSTALLDIR goto msbuild-not-found
110
+set GYP_MSVS_VERSION=2012
111
+goto msbuild-found
112
113
+:vc-set-2010
114
if not defined VS100COMNTOOLS goto msbuild-not-found
115
if not exist "%VS100COMNTOOLS%\..\..\vc\vcvarsall.bat" goto msbuild-not-found
116
call "%VS100COMNTOOLS%\..\..\vc\vcvarsall.bat"
0 commit comments