Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-02-27 03:14:06

On Monday 26 February 2007 18:55, Kevin Van Horn wrote:
> The Boost.Build v2 User Manual has several references to a
> project-root.jam file, but never explains what this file is or what is
> supposed to go into it. Is it just an alternate name for the Jamroot
> file? If not, how does its function differ from Jamroot?

project-root.jam is something that should not be used, or mentioned
anywhere. What parts of manual mention it?

I can find three therefences in extender's manual, which I'll fix,
but probably there are others.

> In addition, several of the examples included with Boost.Build v2
> include both a Jamfile and a project-root.jam, but no Jamroot;
> examples/gettext is one of these. Why two separate files?

That's old way, now it should be a single Jamroot. Will fix.

> Finally, if project-root.jam and Jamroot are just different names for
> the same file, then is this line in kernel/errors.jam wrong?
> local user-modules =
> ([Jj]amfile(.jam|.v2|)|user-config.jam|site-config.jam|project-root.jam)
> ;
> That is, should [Jj]amroot be in there too?

Yes, it's a bug. Thanks for noticing!

- Volodya

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