Boost logo

Boost-Build :

From: hamletclaud (hamletclaud_at_[hidden])
Date: 2005-07-19 08:50:48


Hi!

Relates to: Boost Build V2

I have an executable which as one of its sources uses a system
library, so:

------
lib required_system_library
:
: <name>greatlib
;

exe final_exe :
source1.cpp

required_system_library
;
--------

However, the system library has different names under Linux and
Darwin. I would thus like to choose the library name (say, "greatlib"
for Linux, but "greatlib_xy" for Darwin) depending on the OS, much as
I can easily do for variants, optimization and other factors.
This must be trivial, but in my stupidity I can't find the solution in
the documentation nor in the jam source.

Many thanks in advance!

Claudius

 


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