Sign in Join
FPDoc Onlineexperiment

TSource class

In unit fpMkUnit

Represents a source file in the build system

Declaration

pascal
TSource = class(TNamedItem)

Inheritance

  1. TSource
  2. TNamedItem
  3. TCollectionItem
  4. TPersistent
  5. TObject

Description

TSource represents a single source code file within the Free Pascal build system, tracking file paths, names, and build-related properties.

This class manages individual source files that are compiled as part of build targets, including dependency tracking and compilation settings.

Properties

SourceTypepublicType of source file (documentation, example, etc.)
InstallSourcePathpublicInstallation path for the source file

Methods

CreatepublicCreates a new source file entry
DestroypublicDestroys the source file entry and releases resources
GetInstallFilespublicGets list of files for installation from this source

Inherited

From TNamedItem (1)

Name

From TCollectionItem (11)

Changed Collection DisplayName GetDisplayName GetNamePath GetOwner ID Index SetCollection SetDisplayName SetIndex

From TPersistent (6)

Assign AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers

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.