Sign in Join
FPDoc Onlineexperiment

TTarget.GetCleanFiles procedure deprecated

Member of TTargetpublicIn unit fpMkUnit

Gets list of files to be cleaned for this target

Declaration

pascal
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

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

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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.