- updated vc++ build script to look for win7 / vista style install paths for VC++

This commit is contained in:
Mark Vejvoda 2011-01-14 06:57:48 +00:00
parent ada4140d84
commit e77ad718ee
1 changed files with 9 additions and 2 deletions

View File

@ -10,8 +10,15 @@ ECHO --------------------------------
ECHO Setting up Visual Studio 2008 environment vars...
REM Ensure ultifds HP doesn't mess the build up
SET Platform=
if "%DevEnvDir%." == "." call "\Program Files\Microsoft Visual Studio 9.0\vc\vcvarsall.bat"
if "%DevEnvDir%." == "." goto SETVCVARS
GOTO SVNSECTION
:SETVCVARS
IF EXISTS "\Program Files\Microsoft Visual Studio 9.0\" call "\Program Files\Microsoft Visual Studio 9.0\vc\vcvarsall.bat"
IF EXISTS "\Program Files\Microsoft Visual Studio 9.0\" goto SETVCVARS
IF EXISTS "\Program Files (x86)\Microsoft Visual Studio 9.0\" call "\Program Files (x86)\Microsoft Visual Studio 9.0\vc\vcvarsall.bat"
:SVNSECTION
rem Update from SVN to latest rev
ECHO --------------------------------
Echo Updating Code from SVN to latest Revision...
@ -41,4 +48,4 @@ if not "%SVNVERSION%" == "." echo #define SVNVERSION "%SVNVERSION%" > ..\..\sour
msbuild /p:Configuration=Release Glest.sln
rem pause execution so we can see the output before the batch file exits
pause
pause