Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-12-16 10:45:20


TEMPLIE C?dric wrote:

>
> Hi,
>
> I have another question.
>
> How is it possible to copy a tree from a location to another ?

The simplest approach is probably:

make destionation : x : $(__name__).cp-r : <location>. ;

actions cp-r
{
cp -r $(>) $(<)
}

which results in:

$ bjam -n
Jamfile</home/ghost/Work/boost/tools/build/v2/example/copy_tree>.cp-r
destionation

cp -r x destionation

But that does not care if individual files are modified or not. I'll see
about making 'stage' work fine for recursive operations.

- 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