Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-06-28 09:07:56


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

> ----- Original Message -----
> From: David Abrahams <jamboost_at_[hidden]>
>>> it's a shame we can't take the guts of
>>> the X11 utility, makedepend and put it into jam.
>
>> 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.
>
> AM> makedepend knows the -I and -D options so it does a
> similar job to what the C preprocessor does and expands
> the macros, so it sees the same #include statements that the
> C preprocessor does.

You said "one way to do this would be to introduce a new Jam macro [I
assume you meant variable] MACROS..."

We already have variables that describe the include paths and
command-line defines. Introducing a new one doesn't get us any
closer; we need a preprocessor.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

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