winamp/Src/external_dependencies/openmpt-trunk/build/auto/setup_vs_any.cmd

27 lines
764 B
Batchfile

@echo off
if exist "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" (
call %~dp0\setup_vs2022.cmd
goto vsdone
)
if exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" (
call %~dp0\setup_vs2019.cmd
goto vsdone
)
if exist "C:\Program Files\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" (
call %~dp0\setup_vs2019.cmd
goto vsdone
)
if exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" (
call %~dp0\setup_vs2017.cmd
goto vsdone
)
if exist "C:\Program Files\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" (
call %~dp0\setup_vs2017.cmd
goto vsdone
)
:vsdone