compile_delphi_project
Compile Delphi projects (.dpr/.dproj) and return only compilation errors, filtering out warnings and hints.
Instructions
Compile a Delphi project (.dpr or .dproj file) and return parsed results. For Windows targets (Win32/Win64/Win64x), uses MSBuild for IDE-identical output including icons, manifests, and DPI awareness. For cross-compilation targets (Linux64/Android/Android64), uses direct dcc compiler invocation. Returns only compilation errors, filtering out warnings and hints.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | Absolute path to .dpr or .dproj file | |
| force_build_all | No | Force rebuild all units (adds -B flag) | |
| override_config | No | Override active build config (e.g., "Debug", "Release") | |
| override_platform | No | Override active platform (e.g., "Win32", "Win64", "Linux64", "Android", "Android64") | |
| additional_search_paths | No | Extra unit search paths to add | |
| additional_flags | No | Additional compiler flags to append |