OpenMake Meister

getBuildTaskOption( $option_name, $build_task, $option_group)

 

Gets the value of an option specified by $option_name, if the option is defined in the form option=value, a given Build Task and Option Group. If Option Group is not passed, the routine will assume the standard option group as defined in $OPTIONGROUP_DEFAULT_NAME.

 

USAGE:

 

my $manifest_file = $build_option->getBuildTaskOption( "manifest",

$BuildTask); $manifest_file =~ s|^"||g; $manifest_file =~ s|"$||g;

 

RETURNS:

 

The value of the option in the <option>=<value> construction is returned. Note that quotes aren't stripped from options like manifest="META-INF/manifest.mf".