Boost logo

Boost-Build :

Subject: Re: [Boost-build] Depending on external libraries
From: Fabien Chêne (fabien.chene_at_[hidden])
Date: 2012-10-03 09:09:46


Hi Paulo,

Thank you for answering.

2012/10/3 Paulo Márcio Figueiredo Alves <pauloalves1986_at_[hidden]>:
> Hi,
>
> Here, where I work, we use prebuilt, and I've done a jam to help us (in
> attached file). But it bothers me when have to I change the compiler, or
> other configurations like runtime-link etc, so I prefer use source code.

I used a different approach, which consists in extensively performing
compile/link tests with autoconf, to generate a .jam which contains
the prebuilt definitions. Honestly, I find it awful, and I would
rather have a builtin support for prebuilt boost libraries if that
would be possible.
I will have a closer look at your solution when I have more time,
would you mind mentioning how it basically works ?

> If there is a way to use source code (even why source code files are smaller
> than prebuilt files) and once compiled, do not compile again unless
> explicit, this way would be the best (my opinion); nevertheless, recompiling
> is not that problem, it's quite fast.

In my opinion, it's not that fast. I remember that the bjam
dependencies calculation of my project was heavily slow down by the
boost library one, but that was before Steven's work, so things might
have changed a bit now...
Anyway, depending on boost sources more or less forces you to embed it
in your project tree, which is not always what is done, and in my
opinion not a very good thing.

-- 
Fabien

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