Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

build: add support for Visual Studio 2012

Closes #722
  • Loading branch information...
commit bc5fa794b96049e39e7fc1192137db36e1dc4dc8 1 parent a9bce29
@seishun seishun authored piscisaureus committed
Showing with 8 additions and 0 deletions.
  1. +8 −0 vcbuild.bat
View
8 vcbuild.bat
@@ -41,6 +41,14 @@ shift
goto next-arg
:args-done
+@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" %vs_toolset%
+set GYP_MSVS_VERSION=2012
+goto select-target
+
+:vc-set-2010
@rem Look for Visual Studio 2010
if not defined VS100COMNTOOLS goto vc-set-2008
if not exist "%VS100COMNTOOLS%\..\..\vc\vcvarsall.bat" goto vc-set-2008
Please sign in to comment.
Something went wrong with that request. Please try again.