There is no off-the-shelf tool, AFAIK, except perhaps for CMake , which can handle such things for you.
For C ++, it is fairly easy to manage manually, since you can set the LIB, LIBPATH, and PATH environment variables in carefully selected directories. No site.py, eggs, .pth files, etc. Like with Python.
We do this in our store, carefully configure our development / development environment and have everything that is needed for version control (mostly scripts that download huge ZIP files from pre-created libraries and unpack them to the right places).
Small libraries are copied to shared directories, more get their own entry in env-vars.
This works well for Python and Java. Have not tried other languages ββ... yet. :)
Macke source share