Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TBuildEngine.Clean

Cleans compiled files and outputs

Declaration

Source position: fpmkunit.pp line 1468

public procedure TBuildEngine.Clean(

  APackage: TPackage;

  AllTargets: Boolean

);

procedure TBuildEngine.Clean(

  APackage: TPackage;

  const aTarget: TCompileTarget

);

procedure TBuildEngine.Clean(

  Packages: TPackages;

  AllTargets: Boolean

);

Arguments

APackage

  

Package to clean

AllTargets

  

Whether to clean all targets

Arguments

APackage

  

Package to clean

aTarget

  

Specific target to clean

Arguments

Packages

  

List of packages to clean

AllTargets

  

Whether to clean all targets

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.


Documentation generated on: Dec 15 2025