From: lhauch Date: Thu, 25 Oct 2007 16:37:48 +0000 (+0000) Subject: Updated edksetup to support VS2005 iff VS2003 is not installed for the NT32 build X-Git-Tag: edk2-stable201903~21828 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=6f729b6aa2ba171d4ab1cedacb21dbc1cf1a9adf Updated edksetup to support VS2005 iff VS2003 is not installed for the NT32 build git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4216 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/edksetup.bat b/edksetup.bat index 475d830db9..9bb95a5486 100644 --- a/edksetup.bat +++ b/edksetup.bat @@ -51,9 +51,15 @@ goto check_vc @REM :check_vc +@REM The following setup is required for building the Nt32Pkg\Nt32.dsc +@REM platform emulation environment. if defined VCINSTALLDIR goto check_cygwin if defined VS71COMNTOOLS ( + @REM Use Visual Studio .NET 2003 if it is installed call "%VS71COMNTOOLS%\vsvars32.bat" +) else if defined VS80COMNTOOLS ( + @REM Use Visual Studio 2005 iff Visual Studio .NET 2003 is not installed. + call "%VS80COMNTOOLS%\vsvars32.bat" ) else ( echo. echo !!! WARNING !!!! Cannot find Visual Studio !!!