TTargets class
Collection class for managing build targets
Declaration
TTargets = class(TNamedCollection)Inheritance
Description
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.
See also
Properties
Targets | public | Access to build target by name |
TargetItems | public | Indexed access to build targets in the collection |
Methods
AddFPDoc | public | Adds a documentation target to the collection |
AddUnit | public | Adds a unit target to the collection |
AddImplicitUnit | public | Adds an implicit unit target to the collection |
AddProgram | public | Adds a program target to the collection |
AddLibrary | public | Adds a library target to the collection |
AddExampleUnit | public | Adds an example unit target to the collection |
AddExampleProgram | public | Adds an example program target to the collection |
GetEnumerator | public | Gets enumerator for iterating build targets |
Inherited
From TNamedCollection (4)
From TCollection (29)
Add Assign BeginUpdate Changed Clear Count Create Delete Destroy EndUpdate Exchange FindItemID GetAttr GetAttrCount GetItem GetItemAttr GetNamePath Insert ItemClass Move Notify Owner PropName SetItem SetItemName SetPropName Sort Update UpdateCount
From TPersistent (6)
AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers GetOwner
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
