boostorg/boostdep

Integration/optional header problem

Opened this issue · 3 comments

Currently boostdep will report as a dependency every include of every header it finds within an include folder. It would be nice if there was a way to tell boostdep that the header is optional, lets say with something like a comment line that contains boostdep:integration_header. To sanitize misuse of such headers they must not be included from other headers within a library that are not marked as well optional. When integration header is used from other libraries it is considered a dependency though, and the mark should be ignored.

One idea would be to treat them as part of a separate library (e.g. DateTime~Serialization). Maybe I can prototype this in boost_dep_graph.

It would certainly get rid of the biggest dependency cycle:
boostdep-fine2