Remove the Name variable, which duplicates an attribute.
Replace hardcoded Mains with Name.
Remove transitional Library_Type variable from library projects.
Make explicit that Library_Version is only useful during relocatable
builds.
Compute Library_Version from Library_Name, in case it ever differs
from Name.
Make the list of possible Library_Type values explicit (the
documentation mentions "dynamic").
Reorder case statements in order to use Sqlite_Lib in a way similar to
the existing Thread_Lib.
When OS /= Windows_NT, GNATCOLL_SQLITE = embedded, LIBRARY_TYPE = relocatable,
Library_Options is now ("-pthread") instead of (),
consistently with Linker'Linker_Options.
When GNATCOLL_SQLITE = external, LIBRARY_TYPE = static,
Library_Options is now () instead of ("-lsqlite3") & Thread_Lib.
These options are intended for the dynamic loader, not the static
archiver (see https://github.com/AdaCore/gnatcoll-db/pull/17).
The usage of the "=" operator with an overloaded left operand with String
and Unbounded_String interpretations and a String right operand is illegal
because it is ambiguous. This will be diagnosed by an enhanced compiler:
gnatinspect.adb:512:38: error: ambiguous expression (cannot resolve "=")
gnatinspect.adb:512:38: error: possible interpretation at a-strunb.ads:248
gnatinspect.adb:512:38: error: possible interpretation in package Standard
gnatinspect.adb:532:38: error: ambiguous expression (cannot resolve "=")
gnatinspect.adb:532:38: error: possible interpretation at a-strunb.ads:248
gnatinspect.adb:532:38: error: possible interpretation in package Standard
TN: V112-041
Change-Id: I275b5a87e16cc56a842d10af916fd5eeb21e76b6
To avoid conflict with installed gnatcoll.gpr where GNATCOLL_BUILD means
library type.
Part of S709-037.
Change-Id: I372b3fc7b35faf14a223465069968ff1e5550250
To have a unified external for all GNATCOLL project, as discussed for
gnatcoll-db.
Part of S709-037.
Change-Id: I5b6c843df6926288b8906a8c285a6d682394d7bf
Like for gnatcoll_core, these externals allow gnatcoll_*.gpr to be used
from a project that defines the BUILD external in an incompatible way.
Part of S709-037.
Change-Id: Ib69453688c4c3ea112aa8b00d3a610bdc2f5426f