[cmake-developers] [PATCH 5/5] FindBoost.cmake: Add Boost::boost and Boost::<C> targets and documentation
Stephen Kelly
steveire at gmail.com
Tue Jun 24 08:42:35 EDT 2014
Brad King wrote:
> On 06/20/2014 01:09 PM, Philipp Möller wrote:
>> +# Boost::boost - interface target containing the
>> include
>> +# directory
>
> Nice.
Note that Boost upstream is modularizing and may provide CMake config files
in the future:
https://github.com/boost-cmake/boost-cmake
https://svn.boost.org/trac/boost/wiki/CMakeModularizationStatus
The wiki page is out of date, and so is the repo, because boost is trying to
make a release before finishing the modularization work and it is all on-
hold for several more months.
This means:
1) Creating a Boost::boost monolithic target may not be appropriate
2) If FindBoost creates imported targets named Boost::*, then config files
provided by boost upstream probably can't use that namespace (currently it
uses boost::, but you might consider whether imported targets provided by
files shipped with cmake should use CMake::).
Thanks,
Steve.
More information about the cmake-developers
mailing list