Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2021-11-03 15:07:43


Дмитрий Архипов wrote:
> В письме от вторник, 2 ноября 2021 г. 22:32:37 MSK пользователь Niall
> Douglas via Boost написал:
> > The correct solution here is that b2 doesn't misrepresent header only
> > libraries to cmake as not being INTERFACE libraries.
>
> I've skimmed through boost-install code and I think this is doable. There's
> already a hard-coded list of b2 targets that should map to INTERFACE CMake
> targets, it should be possible to extend the logic to any alias target.

It's not so simple because dependencies are gathered when generating
the build variants (as they may depend on the current properties) and
header-only libraries have none.

I think I'll just remove BOOST_ALL_NO_LIB for now and restore the behavior
of the FindBoost helper targets.


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