Skip to content

GetCustomFpmakeCommandlineOptionValue

Gets value of custom command line option

Declaration

Source position: fpmkunit.pp line 1724

function GetCustomFpmakeCommandlineOptionValue
                                              (const ACommandLineOption: string)
                                               : string;

Arguments

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

Name Description
AddCustomFpmakeCommandlineOption Adds custom command line option to FPMake