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

TSources.AddSrcFiles

Adds source files matching file mask pattern

Declaration

Source position: fpmkunit.pp line 920

public procedure TSources.AddSrcFiles(

  const AFileMask: string;

  const ASearchPathPrefix: string;

  Recursive: Boolean = False

);

Arguments

AFileMask

  

File mask pattern for matching source files

ASearchPathPrefix

  

Path prefix for source file search operations

Recursive

  

Whether to search subdirectories recursively

Description

Searches for and adds source files that match the specified file mask pattern to the source collection.

This method provides a convenient way to add multiple source files at once using wildcard patterns for file selection.


Documentation generated on: Dec 15 2025