Subject: Re: [boost] [CMake] what to do now?
From: Robert Ramey (ramey_at_[hidden])
Date: 2016-04-14 19:42:36


On 4/14/16 4:31 PM, Peter Dimov wrote:
> Robert Ramey wrote:
>
>> I wondering if we shouldn't have used:
>>
>> <library name>
> ...
>> src
>> *.cpp
>> Jamfile.v2
>> CMakelist.txt
>
> Intuitively, this makes sense and I've wondered the same, before I
> realized that with our current structure, when you issue the command
>
> b2 build
>
> from the library root, it builds the library. (And of course
>
> b2 test
>
> tests it.)
>
> b2 src
>
> doesn't have quite the same ring to it.

This is very odd. It has never occurred to me to do such a thing and in
fact I would never have guessed that it's possible. I always do:

cd build
b2

cd test
b2

etc.

As it turns out, one could do the exact same thing with CMake

Robert Ramey