Boost logo

Boost :

Subject: Re: [boost] Request for a "Policy Review" regarding 'CMakeLists.txt'
From: Paul Fultz II (pfultz2_at_[hidden])
Date: 2016-05-17 20:31:17


On Tuesday, May 17, 2016 at 7:07:44 PM UTC-5, Peter Dimov wrote:
>
> Paul Fultz II wrote:
>
> > The tool doesn't look for CMakeLists.txt at all. It just calls cmake on
> > the library. If you want it to search in another location, its best to
> > update cmake to do that.
>
> cmake takes the directory as an argument, so it would make absolutely no
> sense for it to search. If you want cmake to look for CMakeLists.txt
> somewhere, you pass that somewhere to it.
>

That is true, but considering putting a cmake in another directory is first,
quite rare, and also non-conventional. Therefore, it is difficult to decide
what directory should be searched, and in what order the search to happen.
Its
much simpler to just put the cmake file where it is expected to be.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk