Boost logo

Boost-Build :

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


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.

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.

Comments?

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk