Boost logo

Boost-Build :

From: Konstantin M. Litvinenko (gclbb-jamboost_at_[hidden])
Date: 2003-06-25 02:08:47


Hello, All!

I am face up with a problem, which may be not a problem at all :)

When I write:

project lib2
: usage-requirements <library>../lib1 ;

lib lib2 : lib2.cpp ;

where lib1 project is

project lib1
: usage-requirements <include>include ;

lib lib1 : lib1.cpp ;

i expect that lib2 will be build with -I"../lib1/include" comand line
switch. It will be nice because current behaviour force me write

project lib2
: usage-requirements <library>../lib1 ;

lib lib2 : lib2.cpp : <include>../lib1;

instead of

project lib2
: usage-requirements <library>../lib1 ;

lib lib2 : lib2.cpp ;

What i should do to avoid double ../lib1 - in usage-requirements as
<library> and in <include>?

PS
When i try to compile examples-v2/libraries/lib1 with comand line
bjam -d2 msvc I have got

cl /Zm800 -nologo /Z7 /Od /Ob0 /GX /GR
/MDd -I"bin\msvc\debug" -c -Fo"bin\msvc\debug\lib1.obj" "lib1.cpp"

Why -I"bin\msvc\debug" ?

With best regards, Konstantin M. Litvinenko aka Dark Angel. E-mail:
darkangel_at_[hidden]

 


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