|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-03-22 06:57:03
On Friday 18 March 2005 04:30, Joao Abecasis wrote:
> Joao Abecasis wrote:
> > The problem I have now is that I must get the full path to the generated
> > executable, in order to invoke it. Right now, the following is working
> > for me:
> >
> > quickbook-binary = [ path.join
> > [ $(target).path ]
> > [ $(target).name ]
> > ]
> > ;
>
> Looks like this is missing at least a [ path.native ... ] wrapper.
Yea, if you want to pass that to native commands.
> Anyway, my original question was motivated by a comment stating the path
> rule is private. On second reading it seems it is marked as "private"
> only in the "abstract base class" virtual-target.
It was inteded to be private, but there are some places where the path is
really needed, and there's no way around that. So using .path is OK.
- 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