[build2] Boost package

Bo Lorentsen bl at lue.dk
Thu Nov 1 21:20:34 UTC 2018

On 11/01/2018 12:22 PM, Boris Kolpackov wrote:
> We looked into it briefly. The problem with Boost is that it will be very
> hard to convert to build2 gradually since pretty much every library has
> a large number of other Boost libraries it depends on.
I agree, I have quite mixed feelings toward boost, it is just one of the 
few common and central libraries for C++, and seems like a good place to 
start, and also because things like Asio and fiber is really good ideas 
(some stdlib also starts out in boost), so it is hard to ignore :-)

> Yes, there are some thoughts/ideas like that, except we were looking into
> vcpkg (which has managed to split Boost into individual libraries and
> document their dependencies -- not sure if Conan folks did the same of
> if it's one gian library).
conan has this full build :


And then this is boost in small libraries :


I am not sure if I understand this in details, but there is some hints 
as to how this may be done.
> I am not sure what you refer to here. I don't think Boost has any
> support for consuming it as C++ modules rather than headers.

Sorry, I was wondering if the ability to not being able to make header 
only packages in b2, has the same effect on the upcoming c++ modules 
(not related to boost), as these to methods seems related ?


More information about the users mailing list