Boost logo

Boost-Build :

From: 1111 (dengkun1977_at_[hidden])
Date: 2004-11-26 16:30:22


Thank you for your advice. But it still acted just the same as if no
<dependency> is specified at all.

actually I would like to know what you would do for this case, will u
use stage rule or will u write your own actions or something for
simple post-processing like "copying" or "zipping" etc? Would you give
me an example?

C:\dk\workspace\graph_count>bjam filecopy release
...found 10 targets...
...updating 5 targets...
MkDir1 dist
common.copy dist\mutag188.dat
1 file(s) copied.
common.copy dist\mutag230.dat
1 file(s) copied.
common.copy dist\mutagclass188.txt
1 file(s) copied.
common.copy dist\mutag_class230.txt
1 file(s) copied.
...updated 5 targets...

--- In jamboost_at_[hidden], Vladimir Prus <ghost_at_c...> wrote:
> On Friday 26 November 2004 05:17, 1111 wrote:
> > I would like to copy some files to the dist directory after exe files
> > are built. What should i do? it seems the following stage<file-copy>
> > doesn't respect implicit dependency
>
> According to:
>
> http://boost.org/boost-build2/doc/html/bbv2/reference/jamfiles.html
>
> <implicit-dependency> should be used when there are generated
headers, so most
> likely you don't need to use it. What if you modify your Jamfile to
read:
>
> stage filecopy : [ glob data/*.dat data/*.txt ] : <variant>release
> <location>dist : <dependency>dist ;
>
> and run
>
> bjam filecopy
>
> ? This should install "dist" as well.
>
> - 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