|
Boost-Build : |
From: Reece Dunn (msclrhd_at_[hidden])
Date: 2006-04-16 16:12:27
Alex Besogonov wrote:
> David Abrahams wrote:
> >> Dave: is there any howto/wiki-style documentation for building BJam
> >> with Python support and (1) importing a Python module into a
> >> Jamfile/*.jam file and writing a Jamfile/*.jam file in Python?
> > The information is somewhere, but I don't remember where -- maybe this
> > list -- and I've never done it myself.
> Yes, it's here:
> http://thread.gmane.org/gmane.comp.lib.boost.build/11148/focus=11149
Thanks!
I have a few problems with adding Python support:
(1) If I run:
build.bat --with-python=c:\python24
I get:
C:\dev\tools\jam>.\bootstrap\jam0 -f build.jam --toolset=vc8 "--toolset-root=C:\
Program Files\Microsoft Visual Studio 8\Common7\Tools\..\..\VC\ " --with-python
c:\python24
Notice that the '=' in the argument has disappeared.
(2) Once I get this to work - by adding the argument directly into build.jam - I get the warning:
builtins.c(1635) - warning: not all control paths return a value
I believe this should be:
return Py_None;
- Reece
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
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