Boost logo

Boost-Build :

Subject: Re: [Boost-build] Shared library as usage-requirement
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-01-07 19:03:52


AMDG

Konstantin Litvinenko wrote:
> Younes Manton пишет:
>> Yes, I can link with boost_iostreams if I include it in the Jamfile
>> of the
>> executables that are also linking with libkar. The problem is I have
>> to do this
>> for every executable. I want all depedents of libkar to link with
>> boost_iostream
>> as a requirement, just like they have to include the libkar dir, but
>> I can't get
>> that to work at the moment.
>>
>
> lib kar : kar.cpp /boost/iostreams : : : <library>/boost/iostreams ;
> exe test : main.cpp kar ;
>
> <library>/boost/iostreams in kar's usage requirements is a key.

It shouldn't be necessary. Listing /boost//iostreams in the sources
should be enough.

In Christ,
Steven Watanabe


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