From a762934aa8c0947ed4d4e1dcbceaeaeb7e765329 Mon Sep 17 00:00:00 2001 From: Sean Farrell Date: Fri, 13 Dec 2013 10:36:36 +0100 Subject: [PATCH] build: add support for VS2013 --- vcbuild.bat | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vcbuild.bat b/vcbuild.bat index 0b7ea4811..8545b2635 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -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%