Cleans compiled files and outputs
Source position: fpmkunit.pp line 1468
public procedure TBuildEngine.Clean( |
APackage: TPackage; |
AllTargets: Boolean |
); |
APackage: TPackage; |
const aTarget: TCompileTarget |
); |
Packages: TPackages; |
AllTargets: Boolean |
); |
APackage |
|
Package to clean |
AllTargets |
|
Whether to clean all targets |
APackage |
|
Package to clean |
aTarget |
|
Specific target 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.