Skip to content

Commit 72b6d4a

Browse files
chore: Add batch scripts for easy command-line compiling of Win32 and Win64 platform
1 parent 0dbda93 commit 72b6d4a

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
@echo off
2+
echo Build 1BRC Entry for DCornelius - Delphi 12 Athens, Win32, Release mode.
3+
echo Assumes Delphi 12 is in the path and can find the compiler for Win32 (dcc32.exe).
4+
pause
5+
6+
REM RSVars is a batch supplied with Delphi and sets environment variables used in the compilation
7+
call RSVars
8+
9+
REM -$L- : no debug symbols
10+
REM -$Y- : no symbol reference info
11+
REM -B : build all units
12+
REM -Q : quiet compile
13+
REM -TX : set extension
14+
REM -D : define compiler symbol
15+
REM -E : output folder
16+
REM -CC : console target
17+
REM -U : unit folders
18+
dcc32.exe -$L- -$Y- --no-config -B -Q -TX.exe -DRELEASE -E..\..\..\bin -CC -U"%BDS%\lib\win32\release" dcornelius.dpr
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
@echo off
2+
echo Build 1BRC Entry for DCornelius - Delphi 12 Athens, Win64, Release mode.
3+
echo Assumes Delphi 12 is in the path and can find the compiler for Win64 (dcc64.exe).
4+
pause
5+
6+
REM RSVars is a batch supplied with Delphi and sets environment variables used in the compilation
7+
call RSVars
8+
9+
REM -$L- : no debug symbols
10+
REM -$Y- : no symbol reference info
11+
REM -B : build all units
12+
REM -Q : quiet compile
13+
REM -TX : set extension
14+
REM -D : define compiler symbol
15+
REM -E : output folder
16+
REM -CC : console target
17+
REM -U : unit folders
18+
dcc64.exe -$L- -$Y- --no-config -B -Q -TX.exe -DRELEASE -E..\..\..\bin -CC -U"%BDS%\lib\Win64\release" dcornelius.dpr

0 commit comments

Comments
 (0)