Cleans compiled files and outputs
Source position: fpmkunit.pp line 1322
public procedure TBuildEngine.Clean( |
APackage: TPackage; |
AllTargets: Boolean |
); |
APackage: TPackage; |
ACPU: TCpu; |
AOS: TOS |
); |
Packages: TPackages; |
AllTargets: Boolean |
); |
APackage |
|
Package to clean |
AllTargets |
|
Whether to clean all targets |
APackage |
|
Package to clean |
Packages |
|
List of packages to clean |
AllTargets |
|
Whether to clean all targets |
Clean removes compiled object files, executables, and other generated outputs from the build process. This method cleans up temporary files, object files, and build artifacts to prepare for a fresh compilation.
The cleaning process can target specific packages or all targets, removing compiled units, executables, and temporary files while preserving source code and configuration files.