Sign in Join
FPDoc Onlineexperiment

TDependencies.AddInclude function

Member of TDependenciespublicIn unit fpMkUnit

Adds an include file dependency to the collection

Declaration

pascal
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

Arguments

Value

Include filename for the dependency

OSes

Set of operating systems for this include dependency

CPUs

Set of CPU architectures for this include dependency

Function result

Newly created include file dependency object

Description

Creates and adds a new dependency on an include file. The dependency can be made conditional by specifying CPU architectures and operating systems where this dependency applies.

See also

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