Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-10-11 03:39:56

Hi Toon,
> At the end of chapter 2 of the documentation, it says that one needs to
> create a file boost-build.jam that contains:
> boost-build /path/to/ ;
> It however does specify
> 1) if the path needs be absolute or can also be relative
> 2) if environment variables can be used at this point.
> IMO the answer to these questions is:
> 1) both
> 2) yes

That's right.

> So this brings me to a broader question: are all env.vars. made
> available inside bjam?

They are available *only* in the global module -- where boost-build.jam lives.
All other files: Jamfiles, project-root.jam, Boost.Build files, are in
separate modules, and env vars can be only obtained as documented at

> What if there is a clash between a local variable
> and a env.var?

It's not possible, I think.

> So finally to conclude: would'nt it be a good idea to start a
> wiki-documentation project? This way unexperienced users (like my self)
> could help with the documentation as long as you can overlook everything
> to make sure the information is always correct.

This is good idea. I'll contact Jeff to ask his opinion about creating such a
page on Boost Wiki.

- Volodya


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at