Vladimir Prus | 30 Sep 12:50

Re: [Boost-user] bjam and env var

Jérémie Fouché wrote:

>  Hi everybody
> 
> I'm creating python modules with boost, and I'm using bjam to compile them
> (because, as written in the doc, it is the easiest way to compile python
> module created with boost.python). Actually, my jam script is specific to my
> directory structure.
> 
> If I want to change my directory structure, or shared my project with
> someone who haven't the same directory structure (which is always the case),
> my jam files need to be changed.
> 
> My jam files are at the end of this post.
> 
> I tried to use environment variables without success. If I create a
> BOOST_ROOT env var, I can't use it in my JamRoot file, because $(BOOST_DIR)
> is always empty.

Did you check Boost.Build documentation? See:

        http://www.boost.org/boost-build2/doc/html/bbv2/faq/envar.html

- Volodya

_______________________________________________
Boost-users mailing list
Boost-users <at> lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users

Gmane