-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathbuild.bat
23 lines (23 loc) · 1.04 KB
/
build.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@echo off
where rsvars.bat /q
if %errorlevel% neq 0 (
echo Add the Embarcadero Studio bin folder to your system path.
echo e.g. "c:\Program Files (x86)\Embarcadero\Studio\19.0\bin"
) else (
call rsvars
)
set project=LogViewer
if exist .\Bin\Win32\%project%.exe del .\Bin\Win32\%project%.*
::msbuild %project%.dproj /t:make /p:config=Release /p:platform=Win32
msbuild %project%.dproj /t:make /p:config=Debug /p:platform=Win32
::if exist .\Bin\Win64\%project%.exe del .\Bin\Win64\%project%.*
::msbuild %project%.dproj /t:make /p:config=Debug /p:platform=Win64
::msbuild %project%.dproj /t:make /p:config=Release /p:platform=Win64
set project=LogBroker
if exist .\Bin\Win32\%project%.exe del .\Bin\Win32\%project%.*
::msbuild %project%.dproj /t:make /p:config=Release /p:platform=Win32
msbuild %project%.dproj /t:make /p:config=Debug /p:platform=Win32
::if exist .\Bin\Win64\%project%.exe del .\Bin\Win64\%project%.*
::msbuild %project%.dproj /t:make /p:config=Debug /p:platform=Win64
::msbuild %project%.dproj /t:make /p:config=Release /p:platform=Win64
pause