mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
build: added support for Visual Studio 2012
This commit is contained in:
committed by
Bert Belder
parent
ff99cd5277
commit
0602fbb49c
10
vcbuild.bat
10
vcbuild.bat
@@ -101,6 +101,16 @@ if defined nobuild goto sign
|
||||
|
||||
@rem Bail out early if not running in VS build env.
|
||||
if defined VCINSTALLDIR goto msbuild-found
|
||||
|
||||
@rem Look for Visual Studio 2012
|
||||
if not defined VS110COMNTOOLS goto vc-set-2010
|
||||
if not exist "%VS110COMNTOOLS%\..\..\vc\vcvarsall.bat" goto vc-set-2010
|
||||
call "%VS110COMNTOOLS%\..\..\vc\vcvarsall.bat"
|
||||
if not defined VCINSTALLDIR goto msbuild-not-found
|
||||
set GYP_MSVS_VERSION=2012
|
||||
goto msbuild-found
|
||||
|
||||
:vc-set-2010
|
||||
if not defined VS100COMNTOOLS goto msbuild-not-found
|
||||
if not exist "%VS100COMNTOOLS%\..\..\vc\vcvarsall.bat" goto msbuild-not-found
|
||||
call "%VS100COMNTOOLS%\..\..\vc\vcvarsall.bat"
|
||||
|
||||
Reference in New Issue
Block a user