|
Boost-Build : |
Subject: Re: [Boost-build] integration with lib boost
From: Sean Hunt (rideau3_at_[hidden])
Date: 2009-02-23 01:14:09
Alexander Bernauer wrote:
> Hi,
>
> I have a project which uses the boost library. This is also how I came
> to Boost.Build, by the way.
>
> This project must run on different plattforms. My problem is, that the
> boost libraries have different names on different plattforms, in my case
> libboost_date_time-gcc43-mt-1_38.a vs.
> libboost_date_time-gcc34-mt-1_38.a
> (note the different GCC version number).
>
> How am I supposed to specify the Jamfiles? Currently I am working around
> by symlinking 'libboost_date_time.a -> libboost_date_time-gcc43-mt-1_38.a'
> and stating 'lib boost_date_time ; ' in the Jamfile.
>
> But I don't think this is the way to go, is it?
>
> regards
>
> Alex
You can use the use-project directive to import the boost project into
your Jamfile, and build libraries on demand with your build, and have
them automatically linked in.
Sean
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