TTargets.AddLibrary function
Adds a library target to the collection
Declaration
function AddLibrary(const ALibraryName: string): TTarget
function AddLibrary(const ALibraryName: string; const OSes: TOSes)
: TTarget
function AddLibrary(const ALibraryName: string; const CPUs: TCPUS;
const OSes: TOSes): TTargetArguments
ALibraryName | Name of the library to add |
OSes | Set of operating systems for this library |
CPUs | Set of CPU architectures for this library |
Function result
Newly created library target
Description
Creates and adds a new library target with the specified name to the target collection. The library will be compiled as a shared library and can optionally be restricted to specific CPU architectures and operating systems.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
