Boost logo

Boost-Build :

From: Robert Ramey (ramey_at_[hidden])
Date: 2021-02-25 20:06:14


On 2/25/21 10:02 AM, Paul Bristow via Boost-build wrote:

> I have yet to find the output from ALL_BUILD in VS

> So how do I get them all to run?
>

Hmmm - i use xcode. CMake builds a project in xcode which includes:

a target for each test
ALL_BUILD target
RUN_ALL? target

So I just invoke ALL BUILD then RUN_ALL and I'm good to go. If I just
want build and maybe run a specific test, I just select that target from
the xcode IDE. Easy as pie. I'm guessing it should be similar for VS
but of course I don't really know.

>> Once I've got things debugged, I re- run the same thing with b2 to make sure everyone is in agreement.
>> Then I check-in.
>>
>> My motivation for spending time with CMake was to be able to use an IDE without constantly syncing it
>> with the bjam settings. This is a problem I had using the IDE with windows. All in all I'm pleased with
>> the whole mess.
>>
>> safe numerics
>>
>> header only library with both compile and execute tests. A more modern CMake.txt layout.

>
> I've worked from this and this builds a plausible VS solution that builds OK. (But I have yet to get run to produce output).
>
> I also don't see how CMake is any help if you don't have an IDE for the compiler.

CMake can build a makefile for the whole project and you can just "make"
the targets you're interested in.

>
> toolset=msvc,gcc,clang

This is a b2 thing. CMake would be used to create a project for each
compiler/ide combination.

>
> (Actually I can use GCC and Clang with Codeblocks, but to *have to* and to run it seems not to do what b2 does at all).
>
> Thanks - but still puzzled.
>
> Paul
>
> PS
>> FYI - I consider myself a novice CMake user. But then I also consider myself a novice B2 user.
>> So, truth be told, I actually like CMake and B2 - I see them as useful in different ways.
>> Of course they both make one pull his hair out in different ways also.
>
> Ah so that may explain some aspects of my appearance 😉
>
>
> _______________________________________________
> Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
>


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk