Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TSourceType

Source file type classification

Declaration

Source position: fpmkunit.pp line 187

type TSourceType = (

  stDoc,

  

Documentation source file

  stSrc,

  

Pascal source code file

  stExample,

  

Example source file

  stTest

  

Test source file

);

Description

Enumeration that classifies source files according to their type and role in the compilation process. Determines how each source file should be processed during building.

stDoc
represents documentation source files, typically XML files used by FPDoc to generate formatted documentation. These files are processed separately from regular source code compilation.
stSrc
represents Pascal source code files (.pas, .pp) that contain program or unit implementations. These files undergo normal compilation processing by the Free Pascal Compiler.
stTest
represents test source files that contain unit tests or test programs for validating package functionality. These files are compiled and executed as part of the testing process.
stExample
represents example or demonstration source files that showcase package functionality. These files are typically compiled separately and may have different installation rules than regular package sources.

Documentation generated on: Dec 15 2025