|
Boost-Build : |
Subject: Re: [Boost-build] Copying targets
From: Juraj Ivanèiæ (juraj.ivancic_at_[hidden])
Date: 2011-05-26 07:09:33
On 26/5/2011 9:37, Udo Steinbach wrote:
> in a Jamfile I build several programs. Now I want to copy (on demand) all
> generated programs and dlls into one special directory OR to copy all
> allready built targets into that directory. E.g.
> bjam --copyprogs prog1 prog4
> or
> bjam prog2 prog3
> bjam copyprograms
> whatever is easier.
> How do I do that? I have played around with the install rule and looked
> around in boosts Jamroot, but ahh phüüü... I have seen classes and generate
> and collecting targets, is all that really needed?
Jamfile:
--------
path-constant SPECIAL_DIR : "../special/dir" ;
lib myDLL : <whatever> ;
exe myEXE : <whatever> ;
install copyprograms : myDLL myEXE : <location>$(SPECIAL_DIR) ;
Command line:
-------------
bjam copyprograms
HTH
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