build: add support for VS2013
This commit is contained in:
parent
17d60e3f94
commit
a762934aa8
@ -41,7 +41,15 @@ shift
|
||||
goto next-arg
|
||||
:args-done
|
||||
|
||||
@rem Look for Visual Studio 2013
|
||||
if not defined VS120COMNTOOLS goto vc-set-2012
|
||||
if not exist "%VS120COMNTOOLS%\..\..\vc\vcvarsall.bat" goto vc-set-2012
|
||||
call "%VS120COMNTOOLS%\..\..\vc\vcvarsall.bat" %vs_toolset%
|
||||
set GYP_MSVS_VERSION=2013
|
||||
goto select-target
|
||||
|
||||
@rem Look for Visual Studio 2012
|
||||
:vc-set-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" %vs_toolset%
|
||||
|
||||
Loading…
Reference in New Issue
Block a user