
Boris Schaeling wrote:
On Tue, 28 Jul 2009 07:51:36 +0200, KTC <ktc@ktchan.info> wrote:
[...]the library is built but not Boost.Graph. Sorry, this time no one told them they need to change Boost.Graph's Jamfile.v2 file with "<find-shared-library>expat" to "<find-shared-library>libexpatwMT" and adding "<define>XML_STATIC".
I have another question: What exactly does <find-shared-library> do? Does it automatically define and use a lib target like:
lib xy : : <name>xy <link>shared ;
It's the other way around, actually. <find-shared-library> instructs to link against named library, so <find-shared-library>x results in -lx on linux (and x.lib on windows). 'shared' means to make sure it's actually shared. The 'xy' metatarget declaration you shown above essentially gets <find-shared-library>xy into build properties of every dependency. HTH, Volodya