Skip to content

TDependencies

Collection of build dependencies

Declaration

Source position: fpmkunit.pp line 694

type

  TDependencies = class(TConditionalStrings)
  public
    function Add(const Value: string) : TDependency;
    function Add(const Value: string; const OSes: TOSes) : TDependency;
    function Add(const Value: string; const CPUs: TCPUS; const OSes: TOSes)
             : TDependency;
    function AddUnit(const Value: string) : TDependency;
    function AddUnit(const Value: string; const OSes: TOSes) : TDependency;
    function AddUnit(const Value: string; const CPUs: TCPUS; 
                const OSes: TOSes) : TDependency;
    function AddInclude(const Value: string) : TDependency;
    function AddInclude(const Value: string; const OSes: TOSes)
                    : TDependency;
    function AddInclude(const Value: string; const CPUs: TCPUS; 
                   const OSes: TOSes) : TDependency;
    function GetEnumerator : TDependencyEnumerator;
    property Dependencies[Index : Integer]: TDependency; {rw}
  end;

Description

TDependencies is a collection class that manages build dependencies for Free Pascal packages.

This collection stores and organizes dependency objects, providing indexed access and management functionality.

Properties

Member Visibility Description
Dependencies public Indexed access to dependency objects in the collection
See all Properties

Methods

Member Visibility Description
Add public Adds a new package dependency to the collection
AddInclude public Adds an include file dependency to the collection
AddUnit public Adds a unit dependency to the collection
GetEnumerator public Gets enumerator for iterating dependencies
See all Methods