Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-04-05 09:22:56

Vladimir Prus <ghost_at_[hidden]> writes:

> Folks,
> I think it would be nice to make user-config.jam into a project. So, you can
> use all the rules you can use inside Jamfile. Also, projects without explicit
> parents will be considered children of user-config.jam.

Interesting. Can we get rid of Jamroot, then <.05 wink>?

> The first part of the change mean you can define targets, constants and have
> use-project calls in user-config jam. This is already possible if you add
> import project ;
> project.initialize $(__name__) ;
> but the above is not nice.

Shouldn't we inject that into site-config.jam automatically?

> The second part of the change means that all Jamroot files will inherit
> properties from user-config.jam. So, you can write
> project : requirements <include>/home/ghost/local/include ;
> in user-config.jam and all your projects will get this requirements. I recall
> this was requested once. The code change is pretty trivial.
> Comments?

Good ideas all around. But then why not make *all* projects
subprojects of user-config.jam?

Dave Abrahams
Boost Consulting

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