From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-02-27 02:00:30
On Sunday 26 February 2006 21:13, Rene Rivera wrote:
> Vladimir Prus wrote:
> > root = [ sequence.join [ regex.split $(root) "/" ] : "\\" ] ;
> > flags dmc .root $(condition) : $(root)\bin\ ;
> Looks like we need something to better handle the "/" vs "\" in bjam.
> How about changing the $(v:T) to allow specifying the separator? The
> above would then be:
> flags dmc .root $(condition) : $(root:T=\)\bin\ ;
Yes, I was looking at :T modifier too. But that's a local change, so I'm not
sure if tweaking :T is a good idea.
> > "$(.root)"dmc -c $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -o"$(<)"
> > "$(>)"
> Is there a point to doing "$(.root)"dmc instead of "$(.root)dmc" ?
No, in fact no. I only did it this way because 'dmc' need not be quoted,
strictly speaking. I've changed this to quote the entire command just now,
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