Boost logo

Boost-Build :

Subject: Re: [Boost-build] Order of command line parameters
From: Gevorg Voskanyan (gevbsd_at_[hidden])
Date: 2015-06-01 17:50:56


> If you specify it on the command line it seems to go in front of and
> behind the rest of the commands (perhaps some toolchains work the
> other way around). I haven't investigated, but I feel the priority is
> toolchain in user-config overriden by project jam, then overridden by
> the command line. I don't know where site-config sits, presumably
> with the lowest precedence.
>
> Try something like:
> ./b2 -cxxflags="-Wno-logical-op-parentheses" ...
>
> Ben
>

Thanks, but that's not really what I'd like to use. The goal is for the
plain "b2" command to just work in that regard. And I do have a kind of
ugly workaround in my Jamroot that achieves that goal, but being able to
settle the matter in user-config.jam once and for all would be ideal.

Gevorg


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