Boost logo

Boost-Build :

Subject: Re: [Boost-build] BUMP: [git] genrating forward headers
From: Bjørn Roald (bjorn_at_[hidden])
Date: 2013-08-04 05:15:02


On 08/03/2013 07:27 PM, Steven Watanabe wrote:
> AMDG
>
> On 08/03/2013 08:07 AM, Bjørn Roald wrote:
>>> - Add <implicit-dependency>/boost//headers to all
>>> library and test targets.
>>
>> Steven, is this to assure we have a complete build graph?
>>
>> I may misunderstand this, but are you saying we should explicitly declare:
>>
>> <implicit-dependency>/boost//headers
>>
>> on *all* targets that depend on *any* of the generated links/copies of
>> boost headers?
>>
>
> Yes. It could be declared in a Jamfile in libs/ to add
> it to all the targets automatically. (Putting it directly
> in Jamroot is tricky, since we would need to avoid
> creating a cyclic dependency.)

so if I use a libs/Jamfile.v2 with something like this:

project boost/libs
     : requirements <implicit-dependency>/boost//headers
     : usage-requirements <implicit-dependency>/boost//headers
     ;

will that do the trick, or did you have something else in mind?

--
Bjørn

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