summaryrefslogtreecommitdiff
path: root/edksetup.bat
diff options
context:
space:
mode:
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-25 16:37:48 +0000
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-25 16:37:48 +0000
commit6f729b6aa2ba171d4ab1cedacb21dbc1cf1a9adf (patch)
treebdaeb0334c587dcba60f5aa4f4c5d41cafd87974 /edksetup.bat
parentd81b56bcbe86629e2c7099d49275e1eee4aedcbf (diff)
downloadedk2-platforms-6f729b6aa2ba171d4ab1cedacb21dbc1cf1a9adf.tar.xz
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
Diffstat (limited to 'edksetup.bat')
-rw-r--r--edksetup.bat6
1 files changed, 6 insertions, 0 deletions
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 !!!