Boost logo

Boost-Build :

From: Ali Azarbayejani (ali_at_[hidden])
Date: 2003-03-11 09:26:30

I have a library which requires linking to different system libraries
for different systems and compilers. For Linux/GCC, I need

GLU GL X11 Xext m

and for Windows (both GCC and MSVC) I need

gdi32 opengl32 comctl32 wsock32

and for Windows/MSVC I additionally need

kernel32 user32.

I tried to understand "Conditional Properties" (in
boost/tools/build/boost_built_v2.html) and looked at some of the
master .jam files (in boost/tools/build/new) and deduced that the
following type of syntax would do what I want in the Usage
Requirements of my library.


(meaning, when the OS is LINUX, look for in the library

but this results in

MkDir1 bin/gcc/debug/os-LINUX:<find-shared-library>GL

and all hell subsequently breaking loose.

I have no further documentation to rely on...can you point me to how
to properly express what I want to express? Or, if this represents a
bug, let me know and I'll prepare a test case. (I am using the head
version of the CVS repository as of this morning.)

Thanks in advance,


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