|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-05-15 12:37:02
John Reid wrote:
> Vladimir Prus wrote:
>> Is B.txt includes A.txt, or B.gl includes A.txt?
>>
> Well B.txt is built from B.gl so it is in B.gl that the inclusion is
> defined.
Then the right way is to write a dependency scanner that will
catch this inclusion? Is inclusion syntax catchable by regexp?
>> How this inclusion relationship can be detected?
>>
>> Or do you want to explicitly specify it?
> I am specifying it by defining a feature I set on B.gl.
Alternatively, you can use <dependency> feature, something like:
whatever A : A.gl ;
whatever B : B.bl : <dependency>A ;
here, 'B' will be only built after 'A' is built.
- 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