Boost logo

Boost-Build :

From: Craig Rodrigues (rodrigc_at_[hidden])
Date: 2005-04-29 14:41:14


Hi,

I have the following Jamfile:

project foobar
: source-location foodir
: requirements
<include>foodir/include
<threading>multi
;

SRC = src1.cpp src2.cpp src3.cpp ;

lib libfoobar : $(SRC) ;

Now, on a Linux platform, the resulting output will be:
libfoobar.so

On Windows, this will be:
libfoobar.dll

I don't want this, I want the output of this to be:
libfoobar.so on Linux
foobar.dll on Windows
libfoobar.dylib on Mac OSX

How can I structure my Jamfile accordingly to do this?

Thanks.

-- 
Craig Rodrigues 
rodrigc_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