Boost logo

Boost-Build :

From: 1111 (dengkun1977_at_[hidden])
Date: 2004-11-25 21:17:24


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

thank you

project
: requirements <include>vf/include
<include>Boost/include/boost-1_31 <include>include
# <source>Boost/lib/libboost_regex-gcc.a
<source>vf/lib/libvf.a
;

lib boost_regex_lib : : <name>boost_regex-gcc <search>Boost/lib ;
lib vf_lib : : <name>vf <search>vf/lib ;

exe graph_count : [ glob src/*.cpp ] boost_regex_lib vf_lib ;

#stage dist : graph_count [ glob data/*.dat data/*.txt ] :
<variant>debug <location>debug ;

#stage dist : graph_count [ glob data/*.dat data/*.txt ] :
<variant>release <location>dist ;

stage dist : graph_count : <variant>release <location>dist ;
stage dist : graph_count : <variant>debug <location>debug ;

stage filecopy : [ glob data/*.dat data/*.txt ] : <variant>debug
<location>debug : <implicit-dependency>dist ;

stage filecopy : [ glob data/*.dat data/*.txt ] : <variant>release
<location>dist : <implicit-dependency>dist ;

#explicit dist ;

 


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