Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2020-03-06 18:32:17


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/10bf0e3d6d79e53a79f8d9e56991f855af862f45.
(See also
https://github.com/boostorg/timer/commit/05ae7c47e99038c5f777c9682980d6d7f5d2b768.)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk