19 Apr
2026
19 Apr
'26
9:08 p.m.
On Sun, Apr 19, 2026, at 10:36 PM, Andrey Semashev via Boost wrote:
This is solved by adding a new target to Boost.Container CMakeLists.txt, e.g. `Boost::container_header_only` for the header-only bits. I would argue, this would be useful regardless of `hub` being part of Boost.Container. Some other libraries already provide more lightweight targets where a full dependency would be too expensive for users.
I always solve this by just depending on Boost::headers. Is there something I'm missing? Is there some added benefit of having "XXXX_header_only" targets per library as well? Seth