LibSet

Description

A data type that defines a set of libraries to include when linking an output file.

See Also

The CC task.

Parameters

Attribute Description Required
libs A comma-separated list of the libraries to include in the link. Names in this list should be the library's basename. No
refid A reference to another <libset>. No other attributes or nested elements may be used with this attribute. No

Parameters specified as nested elements

libpath

The path to use when searching for the libraries.

fileset

A Fileset that specifies the libraries to include when linking. Only files that are recognised as a library are passed to the linker.

Examples

The example below defines a library set that contains the libraries pthread and dl.

<libset libs="pthread, dl" />

The example below defines a library set that contains all the libraries under the build/lib directory.

<libset>
    <fileset dir="build/lib"/>
</libset>