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

TTarget.GetCleanFiles

Gets list of files to be cleaned for this target

Declaration

Source position: fpmkunit.pp line 784

public procedure TTarget.GetCleanFiles(

  List: TStrings;

  const APrefixU: string;

  const APrefixB: string;

  ACPU: TCpu;

  AOS: TOS;

  const aSubTarget: string

); virtual;

procedure TTarget.GetCleanFiles(

  List: TStrings;

  const APrefixU: string;

  const APrefixB: string;

  const aTarget: TCompileTarget

); virtual;

Arguments

List

  

String list to populate with filenames

APrefixU

  

Unit file path prefix

APrefixB

  

Binary file path prefix

ACPU

  

Target CPU architecture

AOS

  

Target operating system

aSubTarget

  

Subtarget name for clean operation

Arguments

List

  

String list to populate with filenames

APrefixU

  

Unit file path prefix

APrefixB

  

Binary file path prefix

aTarget

  

Target object for clean operation

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.


Documentation generated on: Dec 15 2025