Skip to content

TTarget.GetCleanFiles

Gets list of files to be cleaned for this target

Declaration

Source position: fpmkunit.pp line 788

public 
procedure GetCleanFiles(List: TStrings; const APrefixU: string; 
                       const APrefixB: string; ACPU: TCpu; AOS: TOS; 
                       const aSubTarget: string);  virtual;

procedure GetCleanFiles(List: TStrings; const APrefixU: string; 
                       const APrefixB: string; 
                       const aTarget: TCompileTarget);  virtual;

Description

Populates the provided string list with filenames that should be deleted during clean operations for this target. This includes compiled object files, executables, and other generated artifacts.

The file paths are adjusted according to the CPU, OS, and subtarget parameters to match the actual build output locations.