Boost logo

Boost :

Subject: Re: [boost] Follow-up to the follow-up of the CMake follow-up
From: Louis Dionne (ldionne.2_at_[hidden])
Date: 2017-07-13 17:55:58

> In branch feature/install-cmake-config-2 of the superproject, you can find
> an improved version of the award-winning work presented in my previous
> follow-up. This one integrates into the top-level "b2 install" and "b2
> stage" and installs (or, respectively, stages) the CMake configuration
> files
> necessary for find_package to work.
> [...]

I think this is a very good start! It shows that we can automate part of the
process of creating the CMake XYZConfig.cmake files for existing libraries,
which is nice. However, the resulting XYZConfig files are not always
for example Boost.Interprocess, which requires additional libraries to link.
Specifically, the config file for Boost.Interprocess would need to specify
something along the lines of:

    target_link_libraries(boost_interprocess INTERFACE -lrt)

I don't think these things can be generated automatically, and I expect
that a number of libraries will require manual attention to provide proper


View this message in context:
Sent from the Boost - Dev mailing list archive at

Boost list run by bdawes at, gregod at, cpdaniel at, john at