Used to specify the name of the stubs for a dynamic library in the link-tasks.
Attribute | Description | Required |
---|---|---|
name | The name of the library. Leave out the platform
specific prefix and suffiixes (typically lib<name>.dylib or <name>.lib). |
Yes. |
None.
<linkexecutable output="bin/test-linker}">This will link all files in obj/test-linker together with the library nc5 and place the resulting file in bin/test-linker.exe or bin/test-linker
<objfiles dir="obj/test-linker" includes="**/*"/>
<libpath>
<pathelement path="build/lib"/>
</libpath>
<dynamiclibrary name="nc5"/>
</linkexecutable>