[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-build
Subject:    Re: [Boost-build] include order
From:       Vladimir Prus <ghost () cs ! msu ! su>
Date:       2014-04-01 8:10:59
Message-ID: 533A7493.7050209 () cs ! msu ! su
[Download RAW message or body]

On 01.04.2014 11:58, Karsten Ahnert wrote:
> 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)
>      ;

What target is built with wrong includes (and what's the exact command line) and where can I
look at that target definition?

- Volodya

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic