Sign in Join
FPDoc Onlineexperiment

GetCustomFpmakeCommandlineOptionValue function

In unit fpMkUnit

Gets value of custom command line option

Declaration

pascal
function GetCustomFpmakeCommandlineOptionValue
 (const ACommandLineOption: string)
: string

Arguments

ACommandLineOption

Command line option name to retrieve

Function result

Value of the command line option

Description

GetCustomFpmakeCommandlineOptionValue retrieves the value of a previously registered custom command line option. This function enables packages to access their custom command-line parameters during build operations.

The function returns the value specified for the command line option.

The custom command-line option must have been registered using the AddCustomFpmakeCommandlineOption function first.

See also

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