38 lines
1.8 KiB
Batchfile
38 lines
1.8 KiB
Batchfile
|
@echo off
|
||
|
|
||
|
SET "LIB="
|
||
|
|
||
|
SET VC_PATH=C:\Program Files (x86)\Microsoft Visual Studio 12.0
|
||
|
IF NOT DEFINED LIB (IF EXIST "%VC_PATH%" (call "%VC_PATH%\VC\vcvarsall.bat" x64))
|
||
|
|
||
|
SET VC_PATH=C:\Program Files (x86)\Microsoft Visual Studio 11.0
|
||
|
IF NOT DEFINED LIB (IF EXIST "%VC_PATH%" (call "%VC_PATH%\VC\vcvarsall.bat" x64))
|
||
|
|
||
|
SET VC_PATH=C:\Program Files (x86)\Microsoft Visual Studio 10.0
|
||
|
IF NOT DEFINED LIB (IF EXIST "%VC_PATH%" (call "%VC_PATH%\VC\vcvarsall.bat" x64))
|
||
|
|
||
|
SET VC_PATH=C:\Program Files (x86)\Microsoft Visual Studio 13.0
|
||
|
IF NOT DEFINED LIB (IF EXIST "%VC_PATH%" (call "%VC_PATH%\VC\vcvarsall.bat" x64))
|
||
|
|
||
|
SET VC_PATH=C:\Program Files (x86)\Microsoft Visual Studio 14.0
|
||
|
IF NOT DEFINED LIB (IF EXIST "%VC_PATH%" (call "%VC_PATH%\VC\vcvarsall.bat" x64))
|
||
|
|
||
|
SET VC_PATH=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools
|
||
|
IF NOT DEFINED LIB (IF EXIST "%VC_PATH%" (call "%VC_PATH%\VC\Auxiliary\Build\vcvarsall.bat" x64))
|
||
|
|
||
|
SET VC_PATH=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community
|
||
|
IF NOT DEFINED LIB (IF EXIST "%VC_PATH%" (call "%VC_PATH%\VC\Auxiliary\Build\vcvarsall.bat" x64))
|
||
|
|
||
|
SET VC_PATH=C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional
|
||
|
IF NOT DEFINED LIB (IF EXIST "%VC_PATH%" (call "%VC_PATH%\VC\Auxiliary\Build\vcvarsall.bat" x64))
|
||
|
|
||
|
SET VC_PATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools
|
||
|
IF NOT DEFINED LIB (IF EXIST "%VC_PATH%" (call "%VC_PATH%\VC\Auxiliary\Build\vcvarsall.bat" x64))
|
||
|
|
||
|
SET VC_PATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
|
||
|
IF NOT DEFINED LIB (IF EXIST "%VC_PATH%" (call "%VC_PATH%\VC\Auxiliary\Build\vcvarsall.bat" x64))
|
||
|
|
||
|
SET VC_PATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional
|
||
|
IF NOT DEFINED LIB (IF EXIST "%VC_PATH%" (call "%VC_PATH%\VC\Auxiliary\Build\vcvarsall.bat" x64))
|
||
|
|