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

AddCustomFpmakeCommandlineOption

Adds custom command line option to FPMake

Declaration

Source position: fpmkunit.pp line 1699

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

GetCustomFpmakeCommandlineOptionValue

  

Gets value of custom command line option


Documentation generated on: Dec 15 2025