Boost logo

Boost-Build :

From: Chris Hoeppler (hoeppler_at_[hidden])
Date: 2006-04-03 12:10:37


Daniel Goertzen <daniel.goertzen <at> norscan.com> writes:

<snip>

> A secondary problem is that the generator is going to create output amongst
> the sources instead of in bin/gcc/debug. The good new is that the generator
> does take an option as to which directory to place its outputs. The bad
> news is that I don't know the magic invocation to get this directory:
>
> actions MT
> {
> make_tables -o $(something that resolves to
> blah/blah/bin/gcc/debug/) $(2)
> }
>
> Suggestions?

IIRC, the following should do what you want:

actions MT
{
    make_tables -o $(<[0]:D) $(>)
}

HTH,
Chris


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