Ada: (gpr)install package with multiple shared libraries
I have an Ada library project creating a shared library that has dependencies on other prebuilt shared libraries (c/c++). Unfortunately the prebuilt libraries canโt be installed system wide and I am looking for a project setup without user specific library pathโs.
Therefor I want to create a GPR project that โconfigures/installsโ the Ada library and its dependencies with โgprinstallโ so the Ada library can be use out-of-the-box in any Ada executable project.
I figured out that I can make a separate โexternally_builtโ Ada library project for every dependency there is and run a recursive gprinstall on the Ada library project. This will work but adds more packages to the Ada environment than I like so I want to know if there is a better/elegant way to include (extra) shared libraries in a Ada project? (1)
Form the Ada (library) project standpoint the external built libraries kinda belong together, so it would be great if they can be bundled together in one package and installed with gprinstall.
Although I am not sure if this is the way to go, I am trying to get the externally built libraries to piggy-bag with the gprinstall of the Ada library project but without success, maybe someone has an idea how to do this? (2) Itโs seems gprbuild can only output one object, is this so? (3)
Thanks in advance and for your time, Ingmar