diff options
Diffstat (limited to 'deps/uv/vcbuild.bat')
-rw-r--r-- | deps/uv/vcbuild.bat | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/uv/vcbuild.bat b/deps/uv/vcbuild.bat index 0b7ea48111..8545b2635b 100644 --- a/deps/uv/vcbuild.bat +++ b/deps/uv/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% |