Boost logo

Boost-Build :

From: jeffbenshetler (jbenshet_at_[hidden])
Date: 2004-11-08 09:16:37


--- In jamboost_at_[hidden], Rene Rivera <grafik.list_at_r...> wrote:
> Andreas Huber wrote:
SNIP
> > 1. Is there any way to "abstract away" <lib>/<dll>? For example, to
> > specify the Boost.Thread library as a dependency I had to add
> > <dll>../../thread/build/boost_thread to the sources. On Windows, the
> > static library variant doesn't exist so adding <lib>.. to the sources
> > leads to an error. This is ok, but I need to know/specify more than
> > absolutely necessary. It would be nice to just say that a target
depends
> > on the thread library and the build system then figures out by itself
> > whether the static or the dynamic variant should be used (maybe
through
> > a preference the user specifies on the command line).
>
> There is in BBv2, but not really in BBv1. You can however do
something like:

How does one do this in BBv2? We're just getting started with BB, and
like it, but we're struggling with library dependencies.

SNIP

 


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