Declaration¶
Source position: fpmkunit.pp line 888
type
TSource = class(TNamedItem)
public
constructor Create;
destructor Destroy;
procedure GetInstallFiles;
property SourceType: TSourceType; {r}
property InstallSourcePath: string; {r}
end;
Inheritance¶
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¶
| Member | Visibility | Description |
|---|---|---|
| InstallSourcePath read only | public | Installation path for the source file |
| SourceType read only | public | Type of source file (documentation, example, etc.) |
Methods¶
| Member | Visibility | Description |
|---|---|---|
| Create | public | Creates a new source file entry |
| Destroy | public | Destroys the source file entry and releases resources |
| GetInstallFiles | public | Gets list of files for installation from this source |