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:03:57


AMDG

On 2/11/2011 7:39 AM, Edward Diener wrote:
> On 2/11/2011 3:37 AM, Vladimir Prus wrote:
>>
>> Please try:
>>
>> <include>.&&$(BOOST_ROOT)
>>
>> The jury is still out as to whether requiring to explicitly specify order
>> in such cases is good or bad idea.
>
> Why do you say that ? It is obvious that the order of include
> directories is very important.
>

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.

> That did fix the problem, when I finally noticed that the sandbox
> library whose tests I was trying to run had a project-root.jam file that
> had to be manipulated correctly.
>

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