Skip to content

TFileTypes

Set of file type flags for source files

Declaration

Source position: fpmkunit.pp line 152

type
  TFileTypes = Set of TFileType = (ftSource,ftUnit,ftObject,ftResource,ftExecutable,
             ftStaticLibrary,ftSharedLibrary);

Values

Value Description
ftSource Pascal source code file
ftUnit Compiled Pascal unit file
ftObject Object file produced by compilation
ftResource Resource file containing application resources
ftExecutable Executable program file
ftStaticLibrary Static library file for linking
ftSharedLibrary Dynamic shared library file

Description

TFileTypes is a set type that can contain multiple TFileType values, allowing flexible specification of which file types are supported or required by build targets. This set-based approach enables targets to accept multiple input file types or produce different output types based on compilation settings.

See also

Name Description
TFileType File type classification for build targets