Boost logo

Boost-Build :

Subject: Re: [Boost-build] Shared library as usage-requirement
From: Konstantin Litvinenko (to.darkangel_at_[hidden])
Date: 2009-01-07 18:20:02

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.

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