Skip to content

Commit

Permalink
build: vcbuild.bat fix for Visual Studio 2012
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bajtos authored and piscisaureus committed May 3, 2013
1 parent 41cbdc5 commit 418c9bc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions vcbuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 418c9bc

Please sign in to comment.