Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
build: added support for Visual Studio 2012
Browse files Browse the repository at this point in the history
  • Loading branch information
bajtos authored and piscisaureus committed Apr 23, 2013
1 parent ff99cd5 commit 0602fbb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions vcbuild.bat
Expand Up @@ -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"
Expand Down

0 comments on commit 0602fbb

Please sign in to comment.