build: vcbuild.bat fix for Visual Studio 2012
authorMiroslav Bajtoš <miro.bajtos@gmail.com>
Fri, 3 May 2013 06:51:51 +0000 (08:51 +0200)
committerBert Belder <bertbelder@gmail.com>
Fri, 3 May 2013 09:32:32 +0000 (11:32 +0200)
commit418c9bc60429ab4cd46d100fdfd866c66f0a853a
tree8d9f921cf2e7be651a7063b5bbf4cd92b0202e18
parent41cbdc5e64d090e0708dd2a63d4cd63000019bb1
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.
vcbuild.bat