Skip to content

Commit

Permalink
build: add MSVS 2015 support
Browse files Browse the repository at this point in the history
PR-URL: #2036
Reviewed-By: Alexis Campailla <alexis@janeasystems.com>
  • Loading branch information
rvagg committed Jun 26, 2015
1 parent 033a728 commit 0fb8d45
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions vcbuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,18 @@ if defined NIGHTLY set TAG=nightly-%NIGHTLY%

@rem Set environment for msbuild

@rem Look for Visual Studio 2015
if not defined VS140COMNTOOLS goto vc-set-2013
if not exist "%VS140COMNTOOLS%\..\..\vc\vcvarsall.bat" goto vc-set-2013
if "%VCVARS_VER%" NEQ "140" (
call "%VS140COMNTOOLS%\..\..\vc\vcvarsall.bat"
SET VCVARS_VER=140
)
if not defined VCINSTALLDIR goto vc-set-2013
set GYP_MSVS_VERSION=2015
goto msbuild-found

:vc-set-2013
@rem Look for Visual Studio 2013
if not defined VS120COMNTOOLS goto msbuild-not-found
if not exist "%VS120COMNTOOLS%\..\..\vc\vcvarsall.bat" goto msbuild-not-found
Expand Down

0 comments on commit 0fb8d45

Please sign in to comment.