12 Commits

Author SHA1 Message Date
Boris Yakobowski
ee2d9c6fb6 Switch dependencies to gnatcoll_core
None of the libraries present here depend on libgpr, so we
can tighten the dependencies from gnatcoll to gnatcoll_core.

For eng/toolchain/gnatcoll-core#25
2024-06-20 10:41:09 +02:00
Nicolas Boulenguez
aeea734354 Use ADAFLAGS CFLAGS CPPFLAGS LDFLAGS if they exist in the environment 2021-04-05 15:56:56 +02:00
Nicolas Boulenguez
1adbba0a53 python.gpr: compute one External_As_List instead of many Split.
This is more efficient and readable.
2021-04-05 15:55:44 +02:00
Nicolas Boulenguez
53d37d3ed4 Removed unused OS_Kind external variable.
The related part of setup.py is still required by the imported
gnatcoll.gpr.
2021-04-05 15:55:13 +02:00
Nicolas Boulenguez
bd6661cae4 In library projects, only set version in the relocatable case 2021-04-05 15:54:31 +02:00
Nicolas Boulenguez
92da3a0af8 Explicitly mark projects with the library qualifier 2021-04-05 15:46:19 +02:00
Nicolas Setton
911e57fe44 TB10-016 do not link with the python .la in shared mode
Refinement on the previous change: do not pass the Python
static library to the linker if we are in the mode where
we are using the Python shared library.

Change-Id: I05a19d0f69a492106d04e612f299ea32ceeae1ea
2020-11-19 09:41:04 +00:00
Nicolas Setton
6e9769eb5a TB10-016 Make gnatcoll_python.gpr relocatable
Add a project variable to indicate the path to the libpython*.la,
and use this variable to find this when building.

Copy the .la file to the installation destination,
and use the variable to make sure the project generated by gprinstall
finds it.

Change-Id: Ic145f14339091ecb3bf6f10af14916de9fa176d4
2020-11-18 15:55:55 +00:00
Fabien Chouteau
c8425159d5 gnatcoll_*.gpr: rename external GNATCOLL_BUILD into GNATCOLL_BUILD_MODE
To avoid conflict with installed gnatcoll.gpr where GNATCOLL_BUILD means
library type.

Part of S709-037.

Change-Id: I5a0164505bee8e4a93409615e7a9d3b9a85c02f3
2020-09-10 18:41:55 +02:00
Fabien Chouteau
5262835c42 gnatcoll_*.gpr: introduce the GNATCOLL_BUILD external
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: I409695393fb40d301e280a3f5ac7018e9d7bc81b
2020-08-25 16:07:04 +02:00
Adrien Boulanger
912c1b5e6a T612-027: Update library name for python3 bindings
The API between python2 and python3 has significantly changed
and having a different name will prevent dynamic linking issues.

Change-Id: I7ad5f5d470a658abfc67e65206a09919e0a68fe5
2020-07-08 16:53:44 +02:00
Nicolas Roche
4981602c6d Split support for Python 3.x and Python 2.x
Part of S821-014

Change-Id: I17a26eb45043f7fe48b5b33db57425abe8cd9b78
2020-02-07 10:26:11 +01:00