Boost logo

Boost-Build :

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


TEMPLIE C?dric wrote:

> stage export_headers : $(my_headers) : <location>$(MY_HEADERS_LOCATION) ;
> stage export_lib : my_lib : <location>$(MY_LIB_LOCATION) ;

I think

stage export_headers : $(my_headers) : <location>$(MY_HEADERS_LOCATION) ;
stage export_lib : my_lib : <location>$(MY_LIB_LOCATION)
<dependency>export_headers ;

should work. If you want to use <dependency> when staging files which are
not produced from other targets (like headers), be warned that <dependency>
for them worked only since this commit:

2004-12-03 17:24 vladimir_prus

* stage.jam: Handle <dependency> for 'stage'.

* tools/stage.jam (copy-file, relink-file): Add stage's
dependency properies to the staged targets properties, so that
<dependency> is copied too.

* test/stage.py: New test.

So it does not work in m10 :-(

- 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