From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-11-23 04:41:57
> Em 20 Nov 2004, às 12:30, Vladimir Prus escreveu:
> >>> but I'm definitely interested in some SCons integration. To begin
> >>> with, if
> >>> someone could embed Python in bjam and use SCons's build engine to
> >>> actually
> >>> execute commands (except for bjam's build engine), that would be very
> >>> welcome thing.
> >> Give me just a couple of days and I'll get back to you on this.
> > Cool! If you do it this feature will get notable place in Boost.Build
> > M11
> > changelog!
> I said I'd get back to you, not that I was going to do it in a couple
> of days :-)
> > 1. Initially, bjam will invoke SCons at the lowest level (creating
> > SCons
> > Nodes instead of bjam's targets).
> > 2. If that works out OK, we'd need to consider how to mix Python and
> > jam
> > language. Say, so that one could write new tool in Python.
> > 3. After that, we can gradually move Boost.Build code to Python. Given
> > that
> > the languages are very similar, this should not be very hard.
> I agree that this is, in fact, the best approach, despite the fact that
> I share Stefan's opinion regarding the language.
> Still, if we eventually reach the point where we have an API to define
> targets and all, developing parsers for the language of one's choice
> wouldn't be too hard.
If we allow to mix Python and jam modules and call jam modules from Python,
then well, you can call "exe" from Python.
> I can give it a try and integrate bjam and SCons, although I will need
> your guidance in the lowest level details of bjam.
> Again, let me finish
> a few things I have to do and then I'll contact you.
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