![]() |
OpenMake Meister |
This method gets the files and options for the files that match a given Build Task and Option Group. If the Option Group is not passed, the outline will assume the standard option group as defined in $OPTIONGROUP_DEFAULT_NAME. It will returns references to file list and option list.
If $all is true, all files are returned listed as dependencies. Otherwise, only the files are returned whose Dependency Parent is the Target that is being built.
For example, in the Javac task for abc.jar.
$Target = "abc.javac";
$DependencyParent{"a.java"} = "abc.javac";
$DependencyParent{"rt.jar"} = "abc.classpath";
If $all is true, both a.java and rt.jar are returned. If $all is not true, only a.java is returned. This is because rt.jar is inherited from the previous Build Task.
USAGE:
my ( $file_ref, $option_ref ) = $build_options->getBuildTaskFiles( "Ant
Javac" ); my @files = @{$file_ref}; my @options = @{$option_ref};
RETURNS:
References to two lists will be returned, the files and the matching options for those files.