6 Mar
2020
6 Mar
'20
6:32 p.m.
Vinnie Falco wrote:
* Default to compilation into a static or dynamic lib, e.g. libboost_deflate.o * Compile header-only, by defining BOOST_DEFLATE_HEADER_ONLY
Practice shows that this isn't that convenient for a low-level dependency. Inevitably, header-only library A wants to use it header-only, and library B wants to use it as a compiled library, and things go south pretty quickly. We already hit this scenario in https://github.com/boostorg/timer/commit/10bf0e3d6d79e53a79f8d9e56991f855af8.... (See also https://github.com/boostorg/timer/commit/05ae7c47e99038c5f777c9682980d6d7f5d....)