Skip to content

AddCustomFpmakeCommandlineOption

Adds custom command line option to FPMake

Declaration

Source position: fpmkunit.pp line 1723

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

Arguments

Name Description
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

Name Description
GetCustomFpmakeCommandlineOptionValue Gets value of custom command line option