Previous: Archive Related Attributes, Up: Project Level Attributes [Contents][Index]
Specifies the prefix of the file names of shared libraries. When this attribute
is not specified, the prefix is lib
. Example:
for Shared_Library_Prefix use ""; -- for Windows, if needed
Specifies the suffix of the file names of shared libraries. When this attribute is not specified, the suffix is .so. Example:
for Shared_Library_Suffix use ".dll"; -- for Windows
Specifies if symbolic links are supported by the platforms. The possible values
of this attribute are "false"
(the default) and "true"
. When this attribute is
not specified, symbolic links are not supported.
for Symbolic_Link_Supported use "true";
Specifies if major and minor IDs are supported for shared libraries.
The possible values of this attribute are "false"
(the default) and "true"
.
When this attribute is not specified, major and minor IDs are not supported.
for Library_Major_Minor_ID_Supported use "True";
Specifies if library auto initialization is supported. The possible values of
this attribute are "false"
(the default) and "true"
. When this attribute is not
specified, library auto initialization is not supported.
for Library_Auto_Init_Supported use "true";
Specifies the minimum options to be used when building a shared library. These options are put in the appropriate section in the library exchange file when the library builder is invoked. Example:
for Shared_Library_Minimum_Switches use ("-shared");
Specifies the option or options to be used when a library version is used. These options are put in the appropriate section in the library exchange file when the library builder is invoked. Example:
for Library_Version_Switches use ("-Wl,-soname,");
Specifies the directory for the runtime libraries for the language. Example:
for Runtime_Library_Dir ("Ada") use "/path/to/adalib";
This attribute is used by GPRlib to link shared libraries with Ada code.