1 @SET VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
2 @SET VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio .NET 2003
3 @SET FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework
4 @SET FrameworkVersion=v1.1.4322
5 @SET FrameworkSDKDir=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1
6 @rem Root of Visual Studio common files.
8 @if "%VSINSTALLDIR%"=="" goto Usage
9 @if "%VCINSTALLDIR%"=="" set VCINSTALLDIR=%VSINSTALLDIR%
12 @rem Root of Visual Studio ide installed files.
14 @set DevEnvDir=%VSINSTALLDIR%
17 @rem Root of Visual C++ installed files.
19 @set MSVCDir=%VCINSTALLDIR%\VC7
22 @echo Setting environment for using Microsoft Visual Studio .NET 2003 tools.
23 @echo (If you have another version of Visual Studio or Visual C++ installed and wish
24 @echo to use its tools from the command line, run vcvars32.bat for that version.)
27 @REM %VCINSTALLDIR%\Common7\Tools dir is added only for real setup.
29 @set PATH=%DevEnvDir%;%MSVCDir%\BIN;%VCINSTALLDIR%\Common7\Tools;%VCINSTALLDIR%\Common7\Tools\bin\prerelease;%VCINSTALLDIR%\Common7\Tools\bin;%FrameworkSDKDir%\bin;%FrameworkDir%\%FrameworkVersion%;%PATH%;
30 @set INCLUDE=%MSVCDir%\ATLMFC\INCLUDE;%MSVCDir%\INCLUDE;%FrameworkSDKDir%\include;%INCLUDE%;%XDK%\xbox\include
31 @set LIB=%MSVCDir%\ATLMFC\LIB;%MSVCDir%\LIB;%MSVCDir%\PlatformSDK\lib;%XDK%\lib;%XDK%\xbox\lib;%LIB%
37 @echo. VSINSTALLDIR variable is not set.
45 devenv /clean Release_LTCG msvc-2003-xbox1.sln
46 devenv /build Release_LTCG msvc-2003-xbox1.sln