mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
Bug 369241 - "MozillaBuild should prepend the PlatformSDK's paths if available for vc71". r=bsmedberg.
This commit is contained in:
parent
03bb93578b
commit
07bf92b7bc
@ -26,5 +26,21 @@ SET PATH=%PATH%;%MOZ_TOOLS%\bin
|
||||
rem Prepend MSVC paths
|
||||
call "%VC71DIR%\Bin\vcvars32.bat"
|
||||
|
||||
rem Prepend SDK paths if MOZBUILD_USE_SDK is defined and the SDK exists
|
||||
if defined MOZBUILD_USE_SDK (
|
||||
if not "%SDKDIR%"=="" (
|
||||
rem Prepend SDK paths - Don't use the SDK SetEnv.cmd because it pulls in
|
||||
rem random VC paths which we don't want.
|
||||
|
||||
rem Don't add '%SDKDIR%include\atl' to INCLUDE because VC7 has ATL headers
|
||||
rem which don't require atlthunk.lib. This also makes it unnecessary to
|
||||
rem append the atlthunk compat lib to LIB.
|
||||
|
||||
SET PATH=%SDKDIR%\bin;%PATH%
|
||||
SET LIB=%SDKDIR%\lib;%LIB%
|
||||
SET INCLUDE=%SDKDIR%\include;%INCLUDE%
|
||||
)
|
||||
)
|
||||
|
||||
cd "%USERPROFILE%"
|
||||
start "MSYS Shell - MSVC7.1 Environment" "%MOZILLABUILD%\msys\bin\rxvt" -backspacekey -sl 2500 -fg %FGCOLOR% -bg %BGCOLOR% -sr -fn "Lucida Console" -tn msys -geometry 80x25 -e /bin/sh --login -i
|
||||
|
Loading…
Reference in New Issue
Block a user