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.