$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] Request for a "Policy Review" regarding 'CMakeLists.txt'
From: Paul Fultz II (pfultz2_at_[hidden])
Date: 2016-05-18 13:02:33
On Wednesday, May 18, 2016 at 11:29:07 AM UTC-5, Mikhail Strelnikov wrote:
>
> >
> >
> > No, not at all. Hana searches for Boost 1.59 _or above_, because it
> > supports
> > these versions. Obviously, the CMakeLists.txt file included with Hana is
> > not
> > the CMakeLists.txt file that would be included with Hana if the Boost
> > community decided to make a move to CMake, which is not the case right
> now.
> >
> >
> I want to remind you that this started with "The requirement that these
> libraries not include a 'CMakeLists.txt' as part of their Boost
> distribution creates a maintenance burden for authors or otherwise hurts
> usability of the independent distribution."
>
> But now it is obvious Hana will need two CMakeLists.txt and somehow this
> is
> not "a maintenance burden".
>
I dont think that Louis is suggesting two cmake files. Rather, if boost were
to move to cmake then the `find_package` could be used to find the actual
boost targets rather then relying on cmake to reverse engineer the
dependencies.
And, like I said in a previous email, a special `boost_find_package`
function
could be added(or we could override `find_package`) to search for internal
dependencies, which will allow the same cmake file for both standalone and
superproject builds.