|
Boost-Build : |
From: ANDREW MARLOW, BLOOMBERG/ LONDON OF (amarlow1_at_[hidden])
Date: 2005-06-27 10:43:15
----- Original Message -----
From: David Abrahams <jamboost_at_[hidden]>
At: 6/27 16:37
"ANDREW MARLOW, BLOOMBERG/ LONDON OF" <amarlow1_at_[hidden]> writes:
> it's a shame we can't take the guts of
> the X11 utility, makedepend and put it into jam.
> I know that jam takes several shortcuts when it calculates
> the dependencies. makedepend does a full job
> by expanding all the macros to figure out
> what gets included.
We have Wave, so we can do it pretty easily. The problem is that we
have to get all the #defines that the compiler provides automatically
and those that are passed on the command line into the mix.
AM> One way to do this would be to introduce a new Jam macro,
MACROS, which is the list of -D options. This is similar to
having HDRS, the list of dirs for which the -I option will be used.
In just the same way that the compiler options are altered to
include -I for all the dirs in HDRS, the compiler options
will include MACROS.
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