Boost logo

Boost-Build :

Subject: Re: [Boost-build] Library search support?
From: Artyom (artyomtnk_at_[hidden])
Date: 2010-04-28 12:18:15


>
> Could you clarify what you mean? cmake does pretty much the
> same -- search
> for files with certain names in certain directories.
>
> > Any progress with it, any chance to get it in
> Boost-Build?
>

I do understand that you need to search somehow... But generally
I think that this is bad idea to put such search in every projects
that needs zlib, icu, libpng or any other 3rd part library. It only
should use macro then manually search it.

Note. I may suggest something more autotools like - try to link rather
try to find manually.

Let's see I want to find pcre... So I'd test

   CC -L/path/1 -lpcre
   CC -L/path/2 -lpcre

Rather then testing if there is a file /path/1/libpcre.so, so at least
for Unix/Cygwin/MinGW platforms it becomes much simpler and only MSVC
require different treatment.

But both methods are fine.

> I'm almost done with coding a canonical solution for this
> problem (which
> happens to be zlib support at present). Sorry for
> real-life-induced delay.
>

I'd be happy to try it once it ready.

Artyom

      


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