
On 19 October 2013 17:40, Andrey Semashev
On Saturday 19 October 2013 18:23:54 Mathias Gaunard wrote:
On 19/10/13 12:22, John Maddock wrote:
A good example would be the serialization lib: a simple dependency tracker would show this up as a dependency to a large part of Boost, but in fact that's not true: in the vast majority of those cases there is no such dependency unless you actually want to use both libraries together and do so by including the "glue" header.
So where does the glue header belong?
In a submodule of the library that depends on both the rest of the library and serialization.
I don't see any need for optional dependencies here.
IMHO, having glue headers in separate repositories is very inconvenient.
We could set it up so that a single repo could contain multiple submodules (i.e. a module for dependency checking is not the same thing as a git submodule).