diff options
author | Miroslav Bajtoš <miro.bajtos@gmail.com> | 2013-05-03 08:51:51 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2013-05-03 11:32:32 +0200 |
commit | 418c9bc60429ab4cd46d100fdfd866c66f0a853a (patch) | |
tree | 8d9f921cf2e7be651a7063b5bbf4cd92b0202e18 | |
parent | 41cbdc5e64d090e0708dd2a63d4cd63000019bb1 (diff) | |
download | node-418c9bc60429ab4cd46d100fdfd866c66f0a853a.tar.gz |
build: vcbuild.bat fix for Visual Studio 2012
Change vcbuild.bat to ignore VCINSTALLDIR environment variable,
always check for specific VS version and set GYP_MSVS_VERSION
accordingly. Otherwise GYP generates project files in format
that cannot be compiled by VS2012.
-rw-r--r-- | vcbuild.bat | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/vcbuild.bat b/vcbuild.bat index babefbc5e..dc596067b 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -99,9 +99,6 @@ ENDLOCAL @rem Skip project generation if requested. if defined nobuild goto sign -@rem Bail out early if not running in VS build env. -if defined VCINSTALLDIR goto msbuild-found - @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 |