Boost logo

Boost-Build :

Subject: [Boost-build] [python-port] how to port boost.jam?
From: Juraj Ivanèiæ (juraj.ivancic_at_[hidden])
Date: 2011-11-24 13:43:38


Hi all.

The next thing on my personal wish list for python port is getting
boost.jam module to work. I am unsure how to approach this.

This module is intended for users, and fills users project with a bunch
of targets. Should this module also be ported to python? Or is there a
way to use it in its jam form?

Currently if I try to use it I get an error that boost.py is missing. If
porting to Python is the way - it is not apparent to me how to do it.
More concretely - how do I do this:

rule boost_std ( inc ? lib ? )
{
     project boost
         : usage-requirements <include>$(inc) <define>BOOST_ALL_NO_LIB
         : requirements <tag>@tag_std <search>$(lib)
         ;

     alias headers ;
     lib date_time : : : :
         <link>shared:<define>BOOST_DATE_TIME_DYN_LINK ;

     ....
}

so that /boost//date_time is visible in my project after importing boost?

I have a bunch of my own jamfiles which do pretty much the same thing as
boost.jam so I'm very eager to resolve this.

I'd appreciate any help as this is (I hope) the only thing stopping me
from never using bjam without --python switch :)


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