Boost logo

Boost :

Subject: Re: [boost] [Build] Specify compiler on the command line
From: Louis Dionne (ldionne.2_at_[hidden])
Date: 2015-10-16 22:09:18

Rene Rivera <grafikrobot <at>> writes:

> On Fri, Oct 16, 2015 at 11:37 AM, Louis Dionne <ldionne.2 <at>>
> wrote:
> > Yes, this works but the problem is that it's not script friendly, because
> > you
> > have to write the file in the right place, and then call b2. I'm trying to
> > run Boost.Build from Travis, and so far it hasn't been easy. Anyway, I got
> > it
> > to work even though it's not pretty.
> >
> Maybe this helps.. <
>> The CI support
> is experimental so far though.

AFAICT, you do the same thing I do, i.e. create a dummy Jamroot and a
project-config.jam file containing the toolset configuration. This works,
but I was precisely trying to avoid it since it's not as clean and easy as

    cmake .. -DCMAKE_CXX_COMPILER=clang++-3.7

I guess this is the only way to do it with Boost.Build, so it's fine.


Boost list run by bdawes at, gregod at, cpdaniel at, john at