Adds a unit dependency to the collection
Source position: fpmkunit.pp line 701
public function TDependencies.AddUnit( |
const Value: string |
):TDependency; |
const Value: string; |
const OSes: TOSes |
):TDependency; |
const Value: string; |
const CPUs: TCPUS; |
const OSes: TOSes |
):TDependency; |
Value |
|
Unit name for the dependency |
Newly created unit dependency object
Value |
|
Unit name for the dependency |
OSes |
|
Set of operating systems for this unit dependency |
Value |
|
Unit name for the dependency |
CPUs |
|
Set of CPU architectures for this unit dependency |
OSes |
|
Set of operating systems for this unit dependency |
Creates and adds a new dependency on a specific unit within the same package, so that the installer can decide to compile the dependency first when determining the order of compilation. The dependency can be made conditional by specifying CPU architectures and operating systems where this dependency applies.
|
Adds a new package dependency to the collection |
|
|
Adds an include file dependency to the collection |
|
depUnit |
|
Dependency on a specific unit |