Boost logo

Boost-Build :

Subject: Re: [Boost-build] executables and library dependencies
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2010-04-15 13:07:50


On 4/15/2010 11:53 AM, Jim Gallagher wrote:
> If I'm building an executable that uses lib b, and lib b depends on
> lib a, must I list both lib a and lib b as sources for the exe? The
> sample in the docs seems to indicate "yes":
> <http://www.boost.org/doc/tools/build/doc/html/bbv2/faq/s05.html>
>
> I would prefer not to, but I suspect it is this way for a reason.

You can add a usage requirement in lib b, that tells the executable that
it needs lib a.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org (msn) - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

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