Sign in Join
FPDoc Onlineexperiment

AddCustomFpmakeCommandlineOption procedure

In unit fpMkUnit

Adds custom command line option to FPMake

Declaration

pascal
procedure AddCustomFpmakeCommandlineOption
 (const ACommandLineOption: string; 
 const HelpMessage: string)

Arguments

ACommandLineOption

Command line option name to add

HelpMessage

Help text for the command line option

Description

Registers a custom command line option that will be recognized by the FPMake build system. This allows packages to define their own command line parameters for build customization.

After the command-line has been parsed, the value specified by the user can be retrieved with the GetCustomFpmakeCommandlineOptionValue function.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.