@REM\r
\r
:check_vc\r
+@REM The following setup is required for building the Nt32Pkg\Nt32.dsc\r
+@REM platform emulation environment.\r
if defined VCINSTALLDIR goto check_cygwin\r
if defined VS71COMNTOOLS (\r
- call "%VS71COMNTOOLS%\vsvars32.bat"\r
+ @REM Use Visual Studio .NET 2003 if it is installed\r
+ call "%VS71COMNTOOLS%\vsvars32.bat"\r
+) else if defined VS80COMNTOOLS (\r
+ @REM Use Visual Studio 2005 iff Visual Studio .NET 2003 is not installed.\r
+ call "%VS80COMNTOOLS%\vsvars32.bat"\r
) else (\r
echo.\r
echo !!! WARNING !!!! Cannot find Visual Studio !!!\r
goto check_new_build\r
\r
:check_cygwin\r
+@if /I "%1"=="NewBuild" goto NewBuild\r
if defined CYGWIN_HOME goto check_java\r
if exist c:\cygwin (\r
set CYGWIN_HOME=c:\cygwin\r