$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
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