Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-04-05 08:56:23

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.

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.

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.


Vladimir Prus
Boost.Build V2:

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