Boost logo

Boost-Build :

From: udushlivy (udushlivy_at_[hidden])
Date: 2005-10-12 02:41:07


Hello everybody!

Is it possible to set a conditional that chooses different libraries
on different platforms? Something like this:

lib
mylib1
:
src.cpp src.h
:
<platform>windows:<library>/my_deps//windows_deps
<platform>linux:<library>/my_deps//linux_deps
: :
<include>.
;

Another question: what's the right way to add library versioning, so
that library get a mylib.1.3.so name on build, but can be reffered
just as mylib from exe targets that link to it? Should I use aliases?

Why don't boost-build add a "lib" prefix to libraries on unix? For
example: target mylib becomes libmylib.so

Thank you,
Maxim Udushlivy

 


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