1
0
Fork 0
mirror of https://gitlab.com/Mr_Goldberg/goldberg_emulator.git synced 2024-11-14 10:50:13 +01:00
goldberg_emulator/build_env_x64.bat

28 lines
928 B
Batchfile
Raw Normal View History

2019-08-26 19:01:00 +02:00
@echo off
cd /d "%~dp0"
rem Put in the base path in which Visual Studio is installed, default would be C:\Program Files (x86)
2019-04-13 18:21:56 +02:00
2019-08-26 19:01:00 +02:00
set VS_Base_Path=C:\Program Files (x86)
if exist "%VS_Base_Path%\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" goto vs2019
if exist "%VS_Base_Path%\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" goto vs2017
if exist "%VS_Base_Path%\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvars64.bat" goto vs14
2019-08-26 20:45:49 +02:00
if exist ".\sdk_standalone\set_vars64.bat" goto gitlabci
2019-08-26 19:01:00 +02:00
:vs2019
call "%VS_Base_Path%\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
2019-04-13 18:21:56 +02:00
goto batend
:vs2017
2019-08-26 19:01:00 +02:00
call "%VS_Base_Path%\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
2019-04-13 18:21:56 +02:00
goto batend
2019-08-26 19:01:00 +02:00
:vs14
call "%VS_Base_Path%\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvars64.bat"
2019-04-13 18:21:56 +02:00
goto batend
2019-08-26 20:45:49 +02:00
:gitlabci
call ".\sdk_standalone\set_vars64.bat"
goto batend
2019-04-13 18:21:56 +02:00
:batend