Boost logo

Boost-Build :

From: Franz (fschnyder_at_[hidden])
Date: 2007-11-22 02:31:42


I have a the following Jamfile:

project Example
   : requirements <link>static ;

lib lKernel
   : kernel/kernel.cpp
   : <include>./kernel
   : <include>./kernel ;

lib lPlugin
   : plugin/plugin.cpp
   : <library>lKernel
   : <include>./plugin ;

exe aTwo
   : mainTwo.cpp
   : <use>lPlugin ;

'aTwo' needs the include path of 'lPlugin' and should not link against it.
Therefore is used the <use> feature. When I compile 'aTwo' it does not link
'lPlugin' but it links 'lKernel'! But 'aTwo' should not link any of these
libraries, it should just get the include path of 'lPlugin'. I also used the
<dependency> feature instead of <use>, but the result is the same.

Is there a way to add the include path of 'lPlugin' to 'aTwo' without also
adding any linking libraries?


- Franz

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