|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-10-30 12:50:06
Rene Rivera wrote:
> Update of /cvsroot/boost/boost/tools/build/new
> In directory usw-pr-cvs1:/tmp/cvs-serv30325
>
> Modified Files:
> project-root.jam
> Log Message:
> Add "path-constant" rule to declare/define constants which are used as paths.
Thanks a lot!
> Index: project-root.jam
> + switch $(type)
> + {
> + case path :
> + if ! [ path.is-rooted $(value) ]
> + {
> + value = [ path.join [ regex.split $(self.location)/$(value) "/" ] ] ;
> + }
> + }
Rene, did you look at 'path.root' rule? With it, you can write this as:
value = [ path.root $(value) $(self.location) ] ;
- Volodya
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