Boost logo

Boost-Build :

Subject: Re: [Boost-build] Suppressing auto-detected address-model from paths
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-04-03 16:58:58


AMDG

On 04/03/2015 02:11 PM, Robert Ramey wrote:
>
> a) Display all the "feature switches" (I don't know the jam jargon but I
> mean things like linik= address-model= ...) at the top of the log. A switch
> (-q) could be provide for those who don't need this information.
>

This isn't really possible because this information
is determined on a per-target basis. e.g. it's
perfectly fine to build both static and shared
libraries at the same time.

> b) or a switch (-nq) which outputs all the above.
>

It's called --debug-building, which outputs
the properties used to build each target.
You may not like the volume of output, though.

> c) when I specify something that doesn't make sense - it seems that b2 just
> fixes it up and "makes it right".

  This isn't exactly our intention.
Properties in Boost.Build can come
from many different sources, and
we have rules to specify how they're
merged. It sounds like the specific
problem that you're complaining about
here is that target/project properties
override the command line. This behavior
is absolutely necessary in some cases.

> But now I'm back where I was not knowing
> that I was doing something wrong and likely getting something that is
> different than what I thought I was asking for. I would prefer that the
> program just stop immediately with and error message telling me what I did
> wrong. Of course others might now like that - so it could be conditions on
> -fixup or -nofixup.
>

In Christ,
Steven Watanabe


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