|
Boost Users : |
Subject: Re: [Boost-users] CMake Announcement from Boost Steering Committee
From: paul (pfultz2_at_[hidden])
Date: 2017-07-18 19:19:30
On Tue, 2017-07-18 at 19:01 +0100, Roger Leigh via Boost-users wrote:
> On 18/07/17 14:12, Jon Kalb via Boost-users wrote:
> >
> > Therefore, we, the Steering Committee, announce to the Boost communityÂ
> > our desire and intent to move Boostâs build system to CMake for usersÂ
> > and developers alike.
> This is great news to hear.
>
> >
> > The members of the Steering Committee have been encouraged by theÂ
> > discussions and activity surrounding CMake on the mailing lists over theÂ
> > years and know that many people have voiced visions. We hope that eachÂ
> > of you rejoins the discussion to support this initiative and contributesÂ
> > to the common goal of improving Boostâs integration into the broader C++Â
> > ecosystem.
> I'm one of the maintainers of the CMake Boost supportÂ
> (https://gitlab.kitware.com/cmake/cmake/blob/master/Modules/FindBoost.cmake)
>
> Currently we hardcode all the inter-module library and header dependencyÂ
> information back to Boost 1.33 so that it's possible to call
>
> Â Â Â Â Â find_package(Boost COMPONENT filesystem thread)
>
> and have it find the libraries and tell CMake what the dependencies areÂ
> so it can compile and link with the correct includes and libraries.
>
> With Boost using CMake itself, it would be nice if this informationÂ
> could be provided directly by Boost, so that the dependency informationÂ
> doesn't need to be hardcoded--it can be supplied directly with the buildÂ
> in the form of a ${libdir}/cmake/BoostConfig.cmake script.  This wouldÂ
> mean we could retire FindBoost.cmake and cease the hardcoding ofÂ
> dependency information for new releases from this point onward.  WeÂ
> would need to keep it around for backward compatibility for some time,Â
> but users could switch over to the provided configuration pretty seamlessly.
Well, actually, an intial setup for cmake, I have it generate config files for
every library here:
https://github.com/boost-cmake/boost
So then its just a matter of updating `FindBoost` to use these packages.Â
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net