|
Boost-Build : |
From: Xavier Benech (xavier_at_[hidden])
Date: 2006-11-17 08:56:24
> On Friday 17 November 2006 14:36, Xavier Benech wrote:
>> So, my question is: How to tell BB to link against the libraries in the
>> order I need??
>
> 1. http://boost.org/boost-build2/doc/html/bbv2/faq/s05.html
I have seen this in the documentation but didn't manage to make it work
the way I specify libraries. I mean the following is not possible (?):
lib mingw32 : : <library>/mingw32//mingw32 ;
lib SDL : : <use> mingw32 <library>/SDL//SDL ;
exe testSDL : testSDL.cpp SDL mingw32 ;
But maybe I should not use <library> and try to make it work like in the
documentation, ie:
lib mingw32 ;
lib SDL : : <use> mingw32 ;
exe testSDL : testSDL.cpp SDL mingw32 ;
But then I will need to specify in the include path for each project and
what I wanted is to have a toolset that I can re-use in all my project
that configures the SDL include/lib path and libs names, like what qt.jam
does for qt.
> 2. I don't think that current version of V2 needs even that, it should
> pass
> the right options to the linker to work regardless of library order. What
> version do you have?
Mine should be 6-8 month old, maybe I should update...
Xavier.
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