forked from Serg-Norseman/GEDKeeper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fast_run.cmd
27 lines (18 loc) · 843 Bytes
/
fast_run.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
@echo off
@if exist ".\bin\GEDKeeper2.exe" goto start
call clean.cmd
set MSBDIR="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin"
@if exist %MSBDIR%\msbuild.exe goto build
set MSBDIR="C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin"
@if exist %MSBDIR%\msbuild.exe goto build
echo Build is not possible!
goto quit
rem Don't build with wf4.7.1 and lang7.3, only for 1-6
rem set MSBDIR="C:\Program Files (x86)\MSBuild\14.0\Bin"
rem Don't build with wf4.7.1 and lang7.3, only for 1-5
rem set MSBDIR=@%WINDIR%\Microsoft.NET\Framework\v4.0.30319
:build
%MSBDIR%\msbuild.exe projects\GKv2\GEDKeeper2.sln /verbosity:quiet /p:Configuration="Debug" /p:Platform="x86" /t:Rebuild /p:TargetFrameworkVersion=v4.7.1
:start
start .\bin\GEDKeeper2.exe
:quit