WINBUILD: Fix according to VS 2010 product tree changes.

This commit is contained in:
Rom Walton 2014-05-21 18:18:29 -04:00
parent d90e923860
commit 85baaa560a
1 changed files with 4 additions and 3 deletions

View File

@ -153,10 +153,11 @@ IF /I NOT "%PROCESSOR_ARCHITECTURE%"=="%BUILDPLATFORM%" GOTO :BUILDENVCROSS
rem Building a native binary for the current platform.
:BUILDENVNATIVE
IF /I NOT "%BUILDPLATFORM%"=="x86" (
CALL "%VCINSTALLDIR%\bin\%PROCESSOR_ARCHITECTURE%\vcvars%PROCESSOR_ARCHITECTURE%.bat" > NUL: 2> NUL:
IF /I "%BUILDPLATFORM%"=="amd64" (
CALL "%VCINSTALLDIR%\bin\%PROCESSOR_ARCHITECTURE%\vcvars64.bat" > NUL: 2> NUL:
IF ERRORLEVEL 1 GOTO :BUILDENVFAILURE
) ELSE (
)
IF /I "%BUILDPLATFORM%"=="x86" (
CALL "%VCINSTALLDIR%\bin\vcvars32.bat" > NUL: 2> NUL:
IF ERRORLEVEL 1 GOTO :BUILDENVFAILURE
)