Boost logo

Boost-Build :

Subject: Re: [Boost-build] Order of include directories in Boost Build
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-02-11 11:24:17


AMDG

On 2/11/2011 8:19 AM, Edward Diener wrote:
> On 2/11/2011 11:03 AM, Steven Watanabe wrote:
>>
>> The thing is that properties in Boost.Build can come
>> from quite a few different places. Explicitly specifying
>> the places where order matters is safer then letting
>> the system automatically guess at what you mean.
>> On the other hand, it results in the problems that
>> we had here, where the way to fix the problem isn't
>> obvious to someone who doesn't know about it already.
>
> I believe the include directory order should default to directories
> which are closer in the directory hierarchy to the directory of the
> jamfile coming earlier in the order.

Define "closer."

> The alphabetical order is clearly
> wrong for this option.
>

It's fine when the order doesn't matter,
which should be the case most of the time.

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