generate_config_from_build_log
Parses an IDE build log to generate a Delphi configuration file, with minimal settings for Windows targets and full library paths for cross-compilation targets.
Instructions
Generate delphi_config.toml file automatically by parsing an IDE build log. For Windows targets, generates a minimal config with only the Delphi installation path (MSBuild handles all other settings). For cross-compilation targets (Linux64/Android), generates a full config with all library paths and compiler settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| build_log_path | Yes | Absolute path to IDE build log file | |
| output_config_path | No | Output path for generated config file. If not specified, generates platform-specific filename (e.g., delphi_config_win32.toml) by default. | |
| use_platform_specific_name | No | Generate platform-specific filename (e.g., delphi_config_win64.toml) based on detected platform. Set to false for generic delphi_config.toml. Ignored if output_config_path is specified. | |
| use_env_vars | No | Replace user paths with ${USERNAME} environment variable |