TBuildEngine.Clean procedure
Cleans compiled files and outputs
Declaration
procedure Clean(APackage: TPackage; AllTargets: Boolean)
procedure Clean(APackage: TPackage; const aTarget: TCompileTarget)
procedure Clean(Packages: TPackages; AllTargets: Boolean)Arguments
APackage | Package to clean |
AllTargets | Whether to clean all targets |
aTarget | Specific target to clean |
Packages | List of packages to clean |
Description
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.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
