Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to control include order?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-03-20 13:41:17


AMDG

On 03/20/2015 07:44 AM, Samuel Debionne wrote:
>
> I have found about the && syntax (e.g. <include>a&&b ) in the
> documentation. But I wonder how to maintain the include order of two
> targets that have include directives in their usage requirements :
>
> lib a : a.cpp : : <include>dir/a ;
> lib b : b.cpp : : <include>dir/b ;
>
> exe c : a&&b ;
>
> Here I would like to specify that 'dir/a' should be included before
> 'dir/b'. Is there any way to that ?
>

Sorry. If you need to control the include
order, you have to specify <include>dir/a&&dir/b
somewhere. There's no way to specify this
based on targets.

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