-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBuildSources.bat
39 lines (21 loc) · 882 Bytes
/
BuildSources.bat
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
28
29
30
31
32
33
34
35
36
37
38
39
@Echo Off
Echo CLEANING...
Call CleanSources.bat
Echo SEARCHING THE COMPILER...
If Exist "C:\Delphi7SE\Bin\DCC32.exe" Set DCC=C:\Delphi7SE\Bin\DCC32.exe
If Exist "%PROGRAMFILES%\Delphi7SE\Bin\DCC32.exe" Set DCC=%PROGRAMFILES%\Delphi7SE\Bin\DCC32.exe
If Exist "%PROGRAMFILES(X86)%\Delphi7SE\Bin\DCC32.exe" Set DCC=%PROGRAMFILES(X86)%\Delphi7SE\Bin\DCC32.exe
Echo COMPILER FOUND HERE: %DCC%
Echo COMPILING ACRYLIC UI...
"%DCC%" AcrylicUI.dpr
If %ErrorLevel% Neq 0 Echo FAILED! & Pause & Exit /b 0
Echo COMPILING ACRYLIC TESTER...
"%DCC%" AcrylicTester.dpr
If %ErrorLevel% Neq 0 Echo FAILED! & Pause & Exit /b 0
Echo COMPILING ACRYLIC CONSOLE...
"%DCC%" AcrylicConsole.dpr
If %ErrorLevel% Neq 0 Echo FAILED! & Pause & Exit /b 0
Echo COMPILING ACRYLIC SERVICE...
"%DCC%" AcrylicService.dpr
If %ErrorLevel% Neq 0 Echo FAILED! & Pause & Exit /b 0
Echo DONE SUCCESSFULLY.