From c3ac3301e995fb1554c54a7374b67ecdd89ba664 Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Tue, 21 Mar 2023 16:45:23 -0600 Subject: BaseTools: Remove VS2008-VS2013 remnants Remove remnants of Visual Studio 2008-2013 support from Conf/tools_def.txt and various batch scripts. Signed-off-by: Rebecca Cran Reviewed-by: Oliver Smith-Denny Reviewed-by: Liming Gao Reviewed-by: Michael D Kinney Tested-by: Michael D Kinney --- BaseTools/Scripts/SetVisualStudio.bat | 22 +----------------- BaseTools/Scripts/ShowEnvironment.bat | 44 ----------------------------------- 2 files changed, 1 insertion(+), 65 deletions(-) (limited to 'BaseTools/Scripts') diff --git a/BaseTools/Scripts/SetVisualStudio.bat b/BaseTools/Scripts/SetVisualStudio.bat index 60d493a411..fba9f846ef 100755 --- a/BaseTools/Scripts/SetVisualStudio.bat +++ b/BaseTools/Scripts/SetVisualStudio.bat @@ -2,7 +2,7 @@ @REM Windows batch file to set up the Microsoft Visual Studio environment @REM @REM This script is used to set up one of the Microsoft Visual Studio -@REM environments, VS2008x86, VS2010x86, VS2012x86 or VS2013x86 for +@REM environments, VS2015 for @REM building the Nt32Pkg/Nt32Pkg.dsc emulation environment to run on @REM an X64 version of Windows. @REM The system environment variables in this script are set by the @@ -23,26 +23,6 @@ echo. @set "COMMONTOOLSx64=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64" @goto SetVs ) - -@if defined VS120COMNTOOLS ( - @set "COMMONTOOLSx64=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64" - @goto SetVs -) - -@if defined VS110COMNTOOLS ( - @set "COMMONTOOLSx64=C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_amd64" - @goto SetVs -) - -@if defined VS100COMNTOOLS ( - @set "COMMONTOOLSx64=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64" - @goto SetVs -) - -@if defined VS90COMNTOOLS ( - @set "COMMONTOOLSx64=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\x86_amd64" - @goto SetVs -) @echo. @echo No version of Microsoft Visual Studio was found on this system @echo. diff --git a/BaseTools/Scripts/ShowEnvironment.bat b/BaseTools/Scripts/ShowEnvironment.bat index b91886b6a9..1301d5fcb1 100755 --- a/BaseTools/Scripts/ShowEnvironment.bat +++ b/BaseTools/Scripts/ShowEnvironment.bat @@ -80,50 +80,6 @@ if defined SRC_CONF @goto SetEnv @goto End :CheckVsVer -@set "TEST_VS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\" -@if "%VSINSTALLDIR%"=="%TEST_VS%" ( - @echo TOOL_CHAIN_TAG = VS2008x86 - @goto :EOF -) -@set "TEST_VS=C:\Program Files\Microsoft Visual Studio 9.0\" -@if "%VSINSTALLDIR%"=="%TEST_VS%" ( - @echo TOOL_CHAIN_TAG = VS2008 - @goto :EOF -) - -@set "TEST_VS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\" -@if "%VSINSTALLDIR%"=="%TEST_VS%" ( - @echo TOOL_CHAIN_TAG = VS2010x86 - @goto :EOF -) -@set "TEST_VS=C:\Program Files\Microsoft Visual Studio 10.0\" -@if "%VSINSTALLDIR%"=="%TEST_VS%" ( - @echo TOOL_CHAIN_TAG = VS2010 - @goto :EOF -) - -@set "TEST_VS=C:\Program Files (x86)\Microsoft Visual Studio 11.0\" -@if "%VSINSTALLDIR%"=="%TEST_VS%" ( - @echo TOOL_CHAIN_TAG = VS2012x86 - @goto :EOF -) -@set "TEST_VS=C:\Program Files\Microsoft Visual Studio 11.0\" -@if "%VSINSTALLDIR%"=="%TEST_VS%" ( - @echo TOOL_CHAIN_TAG = VS2012 - @goto :EOF -) - -@set "TEST_VS=C:\Program Files (x86)\Microsoft Visual Studio 12.0\" -@if "%VSINSTALLDIR%"=="%TEST_VS%" ( - @echo TOOL_CHAIN_TAG = VS2013x86 - @goto :EOF -) -@set "TEST_VS=C:\Program Files\Microsoft Visual Studio 12.0\" -@if "%VSINSTALLDIR%"=="%TEST_VS%" ( - @echo TOOL_CHAIN_TAG = VS2013 - @goto :EOF -) - @set "TEST_VS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\" @if "%VSINSTALLDIR%"=="%TEST_VS%" ( @echo TOOL_CHAIN_TAG = VS2015x86 -- cgit v1.2.3