Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2003-06-27 13:24:23


[2003-06-27] Paul Schmidt wrote:

>--- In jamboost_at_[hidden], Rene Rivera <grafik666_at_r...> wrote:
>>
>> flags the-toolset HDRS : /some/interesting/place ;
>>
>> You can repeat that to keep adding more.
>Great, thanks - I expect it probably belongs in the
>the-toolset-tools.jam, right?

Yes.

>I've seen this line:
>
>flags the-toolset HDRS <include> ;
>
>But it's not clear what it does; it looks something like a build
>variant type (e.g. <debug>), but not really...

It acts just like the one I mentioned above. The general syntax is:

flags toolset var feature-spec * : value * ;

When values are not given it collects all the values previously given in the
target requirements. So that's the line that gets all places where you have
<include>/some/path in a target. The feature-spec can be rather complex, and
you can see that in the gcc-tools.jam where is picks out the option to
specify the CPU/architecture type.

-- grafik - Don't Assume Anything
-- rrivera (at) acm.org - grafik (at) redshift-software.com
-- 102708583 (at) icq

 


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