Boost logo

Boost-Build :

Subject: Re: [Boost-build] include order
From: Karsten Ahnert (karsten.ahnert_at_[hidden])
Date: 2014-04-01 03:58:13


On 01.04.2014 09:27, Vladimir Prus wrote:
> On 01.04.2014 11:08, Karsten Ahnert wrote:
>> Hi,
>>
>> how can I specify the order of include path passed to the compiler?
>>
>> My Jamroot specfies the requirements as
>>
>> project : requirements
>> <include>./include
>> <include>$(BOOST_ROOT)
>> ;
>>
>> If I build the project from the project root directory the include order
>> is reversed. If I build a subpart of the project inside the tree the
>> order is correct. Any ideas how I can fix this such that the order is
>> always as specified in the Jamroot?
>
> Hi Karsten,
>
> do this answer your question:
>
> http://www.boost.org/doc/libs/1_55_0/doc/html/bbv2/faq.html#bbv2.faq.proporder

In principle yes, but unfortunately this does not work. I have changed
my properties to:

project : requirements
    <include>./include&&$(BOOST_ROOT)
    ;


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