Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-06-27 14:31:36

"ANDREW MARLOW, BLOOMBERG/ LONDON OF" <amarlow1_at_[hidden]> writes:

> ----- 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,

?? Jam doesn't have macros

> 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.

We already have something equivalent to that, but I don't see how it
will help. We want to reliably know which macros are automatically
defined by the compiler so that Wave can figure out exactly what files
end up being #included for any given compilation run.

Dave Abrahams
Boost Consulting

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at