diff options
author | vanjeff <vanjeff> | 2013-09-10 00:31:09 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-09-10 00:31:09 +0000 |
commit | eefbc0effa40b867da78d215c9a4c453ab7eb282 (patch) | |
tree | 7a8ecc800b0c82d44a375c831dc7781de3b0bf66 | |
parent | b8d09d786fd14fcaa5c498e03b310f836e793a97 (diff) | |
download | edk2-eefbc0effa40b867da78d215c9a4c453ab7eb282.zip edk2-eefbc0effa40b867da78d215c9a4c453ab7eb282.tar.gz edk2-eefbc0effa40b867da78d215c9a4c453ab7eb282.tar.bz2 |
Sync patch r14626 from main trunk.
Update edksetup.bat to check VS2012.
git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2010.SR1@14634 6f19259b-4bc3-4df7-8a09-765794883524
-rwxr-xr-x | edksetup.bat | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/edksetup.bat b/edksetup.bat index f6e0ae6..2c8c072 100755 --- a/edksetup.bat +++ b/edksetup.bat @@ -1,7 +1,7 @@ @REM @file
@REM Windows batch file to setup a WORKSPACE environment
@REM
-@REM Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
+@REM Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
@REM This program and the accompanying materials
@REM are licensed and made available under the terms and conditions of the BSD License
@REM which accompanies this distribution. The full text of the license may be found at
@@ -61,21 +61,25 @@ set EDK_SOURCE= @REM and headers to interface with Windows.
if not defined VCINSTALLDIR (
- if defined VS100COMNTOOLS (
- call "%VS100COMNTOOLS%\vsvars32.bat"
+ if defined VS110COMNTOOLS (
+ call "%VS110COMNTOOLS%\vsvars32.bat"
) else (
- if defined VS90COMNTOOLS (
- call "%VS90COMNTOOLS%\vsvars32.bat"
+ if defined VS100COMNTOOLS (
+ call "%VS100COMNTOOLS%\vsvars32.bat"
) else (
- if defined VS80COMNTOOLS (
- call "%VS80COMNTOOLS%\vsvars32.bat"
+ if defined VS90COMNTOOLS (
+ call "%VS90COMNTOOLS%\vsvars32.bat"
) else (
- if defined VS71COMNTOOLS (
- call "%VS71COMNTOOLS%\vsvars32.bat"
+ if defined VS80COMNTOOLS (
+ call "%VS80COMNTOOLS%\vsvars32.bat"
) else (
- echo.
- echo !!! WARNING !!! Cannot find Visual Studio !!!
- echo.
+ if defined VS71COMNTOOLS (
+ call "%VS71COMNTOOLS%\vsvars32.bat"
+ ) else (
+ echo.
+ echo !!! WARNING !!! Cannot find Visual Studio !!!
+ echo.
+ )
)
)
)
|