Boost logo

Boost-Build :

Subject: Re: [Boost-build] Shared library as usage-requirement
From: Konstantin Litvinenko (to.darkangel_at_[hidden])
Date: 2009-01-08 03:54:28


Steven Watanabe пишет:
>>
>> 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.
>

Only if libkar is a static library. iostreams from sources will be not
propagated up to exe if you link libkar as shared.


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