Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-09-11 08:08:07


David Abrahams wrote:
> From: "Vladimir Prus" <ghost_at_[hidden]>
>
>>>I understand.
>>
>>Do you agree we have to use the scheme I've described?
>
>
> Well I'm still not sure I understand the scheme, but I think *something*
> like that is needed. I think it might be better if the user had to be
> explicit about dependencies on generated headers.

As a user, I'd be bored to specify dependencies on generated headers. Do
you have any particular way in mind?

To clarify my proposition: when dependencies are scanned you know
1. Main target, which dependency graph contains the target been scanned
2. Complete dependency graph for that main target.

So, if you have a header "a_parser.h" you check if the dependency graph
has a target of the same name. If it does, you add a dependency to it.

- Volodya

 


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