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 <rebecca@bsdio.com> Reviewed-by: Oliver Smith-Denny <osd@smith-denny.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com> Tested-by: Michael D Kinney <michael.d.kinney@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
0363584ac9
commit
c3ac3301e9
@ -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.
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user