Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost-user] bjam and env var
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-09-30 06:50:36


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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net