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

GetCustomFpmakeCommandlineOptionValue

Gets value of custom command line option

Declaration

Source position: fpmkunit.pp line 1700

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

AddCustomFpmakeCommandlineOption

  

Adds custom command line option to FPMake


Documentation generated on: Dec 15 2025