Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to stop propagate include paths of internal library
From: Franz (fschnyder_at_[hidden])
Date: 2009-03-09 07:43:51


Kevin Wheatley <hxpro <at> cinesite.co.uk> writes:

>
> Franz wrote:
> > Here are the Jamfiles:
> >
> > ##-- Jamfile LibA
> > project LibA :
> > : requirements
> > <include>./inc
> > : usage-requirements
> > <include>./inc
> > ;
>
> If I understand you correctly I believe you want to not pass on the
> usage-requirement, which means you should only need:
>
> project LibA :
> : requirements
> <include>./inc
> ;
>
> Kevin
>

No not exactly. LibA needs to pass the LibA/inc to LibB because LibB includes
header files form LibA/inc in its source files. So I think I need the
usage-requirements. But I don't want that the LibA/inc is also passed to Exe
because it only includes header files from LibB/inc.

regards

- Franz

     


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