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":
> <>
> 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. -
-- rrivera/ (msn) - grafik/
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at