From e7d385931c23495857746e4e24633eaf0742a1af Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Mon, 9 Jun 2014 18:27:27 +0000 Subject: [PATCH] Update msvs_env.bat to include VS2013 paths (issue #1304). git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1750@1727 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- tools/msvs_env.bat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/msvs_env.bat b/tools/msvs_env.bat index 2ef5e82ae..07b440691 100644 --- a/tools/msvs_env.bat +++ b/tools/msvs_env.bat @@ -16,10 +16,14 @@ if exist %vcvars% goto found_vcvars :: Hardcoded list of MSVS paths. :: Alternatively we could 'reg query' this key: :: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\Setup\VS;ProductDir +set vcvars="%PROGRAMFILES(X86)%\Microsoft Visual Studio 12.0\VC\bin\vcvars32.bat" +if exist %vcvars% goto found_vcvars set vcvars="%PROGRAMFILES(X86)%\Microsoft Visual Studio 11.0\VC\bin\vcvars32.bat" if exist %vcvars% goto found_vcvars set vcvars="%PROGRAMFILES(X86)%\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat" if exist %vcvars% goto found_vcvars +set vcvars="%PROGRAMFILES%\Microsoft Visual Studio 12.0\VC\bin\vcvars32.bat" +if exist %vcvars% goto found_vcvars set vcvars="%PROGRAMFILES%\Microsoft Visual Studio 11.0\VC\bin\vcvars32.bat" if exist %vcvars% goto found_vcvars set vcvars="%PROGRAMFILES%\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat"