|
Boost : |
From: Ames, Andreas (Andreas) (ames_at_[hidden])
Date: 2007-08-06 07:52:46
> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] On Behalf Of Stefan Seefeld
> Sent: Monday, August 06, 2007 1:30 PM
> Subject: Re: [boost] Release Tools Analysis Part I: Build systems
>
> That's my point: SCons doesn't have any means to communicate these
> to the dependency scanner, so you can't easily plug in your own.
Sorry for me being dense, I just don't get your point.
The interface that scons uses to call the scannner looks like this:
def __call__(self, node, env, path = ()):
...
What I want to say is: Stuff the sys-include paths etc. into the
build environment, that is communicated to the scanner through the
'env' parameter in the (member) function above. Then you can
configure your own scanner however you want. For example, the msvc
tool communicates those settings through a dict keyed 'ENV' within
the build environment. It contains include and library paths, among
other things.
This is way off topic now, so I'll shut up.
cheers,
aa
-- Andreas Ames | Programmer | Comergo GmbH | ames AT avaya DOT com Sitz der Gesellschaft: Stuttgart Registergericht: Amtsgericht Stuttgart - HRB 22107 Geschäftsführer: Andreas von Meyer zu Knonow, Udo Bühler, Thomas Kreikemeier
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk