forked from Jazzic/DelphiAST_MCP
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.bat
More file actions
25 lines (20 loc) · 681 Bytes
/
build.bat
File metadata and controls
25 lines (20 loc) · 681 Bytes
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
@echo on
REM Build script for DelphiAST_MCP Test Project
set DELPHI_BIN=C:\Program Files (x86)\Embarcadero\Studio\23.0\bin
set DCC=%DELPHI_BIN%\dcc64.exe
set DUNITX_SRC=C:\Program Files (x86)\Embarcadero\Studio\23.0\source\DUnitX
set DELPHIAST_SRC=C:\Users\Public\DelphiLibs\DelphiAST\Source
set DELPHIAST2_SRC=C:\Users\Public\DelphiLibs\DelphiAST\Source\SimpleParser
echo Building DelphiAST_MCP Tests...
"%DCC%" -B ^
-I"%DUNITX_SRC%" ^
-U"%DELPHIAST_SRC%" ^
-U"%DELPHIAST2_SRC%" ^
-NS"System;System.Win;Winapi;DUnitX" ^
-NUdcu64 -Ebin64 DelphiAST_MCP.dpr
if %ERRORLEVEL% EQU 0 (
echo Build successful!
) else (
echo Build failed!
exit /b %ERRORLEVEL%
)