mirror of
https://github.com/arehnman/yttrium-virtio-gpu.git
synced 2026-10-31 02:05:04 +00:00
For Brew build and other configurations which use Professional VS. Signed-off-by: Yuri Benditovich <[email protected]>
15 lines
453 B
Batchfile
15 lines
453 B
Batchfile
@echo off
|
|
if not "%VSFLAVOR%"=="" goto :knownVS
|
|
call :checkvs
|
|
echo USING %VSFLAVOR% Visual Studio
|
|
|
|
:knownVS
|
|
echo %0: Setting NATIVE ENV for %1 (VS %VSFLAVOR%)...
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\%VSFLAVOR%\VC\Auxiliary\Build\vcvarsall.bat" %1
|
|
goto :eof
|
|
|
|
:checkvs
|
|
set VSFLAVOR=Professional
|
|
if exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" set VSFLAVOR=Community
|
|
goto :eof
|