LibrarySet

Description

A datatype that defines a set of static and shared 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 <libraryset>. No other attributes or nested elements may be used with this attribute. No

Parameters specified as nested elements

fileset

A Fileset that contains the libraries to include in the library set. There may be more than one nested <fileset> element.

Examples

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

<libraryset libs="pthread, dl" />

The example below defines a library set that contains all the files in build/lib.

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