Boost logo

Boost-Build :

From: TEMPLIE Cédric (cedric.templie_at_[hidden])
Date: 2004-12-15 03:31:49


Hi,

I want to do a basic thing, export the headers of a project, only when
this one build....

my_sources = ... ;
my_headers = ... ;

lib my_lyb : $(my_sources) ;

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

I don't know how to express the dependency between the my_lib building
and export_headers rule...
I try that, but it don't care if the lib is build or not, moreover, it
copy my_lib results (dll + lib) (when it succeed to build) in
$(MY_HEADERS_LOCATION)...

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

Thanks in advance

TEMPLIE Cédric

 


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