[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Collection class for managing build targets
Source position: fpmkunit.pp line 836
type TTargets = class(TNamedCollection) |
||
public |
||
function AddFPDoc(); |
|
Adds a documentation target to the collection |
function AddUnit(); |
|
Adds a unit target to the collection |
function AddImplicitUnit(); |
|
Adds an implicit unit target to the collection |
function AddProgram(); |
|
Adds a program target to the collection |
function AddLibrary(); |
|
Adds a library target to the collection |
function AddExampleUnit(); |
|
Adds an example unit target to the collection |
function AddExampleProgram(); |
|
Adds an example program target to the collection |
function GetEnumerator; |
|
Gets enumerator for iterating build targets |
|
Access to build target by name |
|
property TargetItems []: TTarget; [rw] |
|
Indexed access to build targets in the collection |
end; |
|
Collection class for managing build targets |
|
| | | ||
|
Collection class for managing named items |
|
| | | ||
| | | ||
| | | ||
TTargets is a collection class that manages multiple TTarget instances within a package. It provides methods to add different types of targets such as units, programs, libraries, and documentation targets.
The collection supports various convenience methods for adding specific target types with optional CPU and OS restrictions, making it easy to create cross-platform build configurations.
|
Build target representation in the fpmake system |
|
|
Enumerator for iterating through build targets |
|
|
Central class for package management and building |