Boost logo

Boost-Build :

Subject: [Boost-build] easy way to stage not built with boost build
From: Jim Gallagher (jim_at_[hidden])
Date: 2010-05-18 19:57:45


Our project uses a number of open source libraries, which are defined
in our Jamroot. Each library was built using the makefile that came
with its source. For example:

constant ZLIB : zlib124 ;

lib zlib124 : : <target-os>windows
<search>$(THIRD_PARTY_LIBS)/zlib/1.2.4-msvc8.0 <name>zlib
    : : <include>$(THIRD_PARTY_LIBS)/zlib/1.2.4-msvc8.0 ;
lib zlib124 : : <target-os>hpux
<search>$(THIRD_PARTY_LIBS)/zlib/1.2.4-acc <name>z
    : : <include>$(THIRD_PARTY_LIBS)/zlib/1.2.4-acc ;

$(THIRD_PARTY_LIBS) is not below our project root.

We use "install stage" targets to copy our libraries and executables
to a staging directory. Given the example above, is there an easy way
to define a staging target that copies the appropriate zlib? I tried
this, but "bjam stagelibs" did not do anything that I could see:

install stagelibs : $(ZLIB) : <location>c:/stagetest ;

Thanks,
Jim


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