|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-07-25 01:17:11
Hi Konstantin,
Konstantin, M. Litvinenko wrote:
> Is there any install-like rules to copy all depended exe/dl targets to
> specific location?
> Example:
>
> lib a : a.cpp ;
> lib b : b.cpp ;
>
> exe c : c.pp a b ;
>
> make-dirst c-package : c : <location>../c ;
On my project, I'm using "stage" rule to that effect. With your example that
would be
stage c-package : c : <location>./c ;
You can look at the real example at
http://zigzag.cs.msu.su:7813/Jamfile.v2
http://zigzag.cs.msu.su:7813/cvslvk.jam
You can also run "bjam --help stage". Wait a minute... you're asking if
there's a rule which will copy "a" and "b" as well. We don't have such a rule
at the moment, and I think there are some questions about it. Would you want
to copy all dependents of "c", including "a.cpp" and "a.obj"?
Most likely not. In that case, we'd better nail down the desired semantics.
- 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