Boost logo

Boost :

Subject: Re: [boost] [EXTERNAL] Request for a "Policy Review" regarding 'CMakeLists.txt'
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2016-05-19 20:29:27


On 20/05/2016 10:55, Paul Fultz II wrote:
>> Nobody said there is one, people rather said there is no technical issue
>> in having your CMakeLists.txt in ./build or ./cmake or ./anyothersubdir
>> (something that you seems to omit quite often).
>
> Yes there is a technical as well as a usability issue with hiding the cmake
> file in some directory. This causes problems with other tools. You will no
> longer be able to install a boost library with `cget install boostorg/hana`.
> Instead the user will have to manually download the repo, unpack the
> archive,
> and then do `cget install hana/build`. I find that unacceptable.

This is a defect in cget, if it does not expect/allow CMakeLists to be
in a subdirectory. They are never supposed to be in the output
directory of cmake (which defaults to the current directory), after all,
so you always have to tell cmake where to find them.


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