| 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. |
| 7 |
|
| 8 |
@if "%VSINSTALLDIR%"=="" goto Usage |
| 9 |
@if "%VCINSTALLDIR%"=="" set VCINSTALLDIR=%VSINSTALLDIR% |
| 10 |
|
| 11 |
@rem |
| 12 |
@rem Root of Visual Studio ide installed files. |
| 13 |
@rem |
| 14 |
@set DevEnvDir=%VSINSTALLDIR% |
| 15 |
|
| 16 |
@rem |
| 17 |
@rem Root of Visual C++ installed files. |
| 18 |
@rem |
| 19 |
@set MSVCDir=%VCINSTALLDIR%\VC7 |
| 20 |
|
| 21 |
@rem |
| 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.) |
| 25 |
@rem |
| 26 |
|
| 27 |
@REM %VCINSTALLDIR%\Common7\Tools dir is added only for real setup. |
| 28 |
|
| 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% |
| 32 |
|
| 33 |
@goto end |
| 34 |
|
| 35 |
:Usage |
| 36 |
|
| 37 |
@echo. VSINSTALLDIR variable is not set. |
| 38 |
@echo. |
| 39 |
@echo SYNTAX: %0 |
| 40 |
|
| 41 |
@goto end |
| 42 |
|
| 43 |
:end |
| 44 |
|
| 45 |
devenv /clean Release_LTCG msvc-2003-xbox1.sln |
| 46 |
devenv /build Release_LTCG msvc-2003-xbox1.sln |
| 47 |
exit |