|
Boost-Build : |
From: Rene Rivera (grafik.list_at_[hidden])
Date: 2006-05-08 22:17:23
Felipe Magno de Almeida wrote:
> Hello,
>
> Could anyone give me any insights about how bjam calculates file dependencies?
I'm not sure what aspect of the dependency creation you want to know
about. At the most basic level it uses a regular expression to search
through the source files, recursively, and calls the preregistered
scanner rule with the results.
> I would like to think a little more about using wave for dependency calculation.
> I was thinking about caching too, but it doesnt seem feasible to cache
> preprocessing with third-party preprocessors. Am I right?
> It would be possible using wave or more possibly a tweaked version of
> wave, that would integrate a preprocessing cache database for lookup
> in include'd statements.
I don't think using an "external" dependency generator is the right way
to go. That is what make does with the usual "makedepend" targets and
it's just terribly limiting. I hope this is not what you are thinking of.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
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