Boost logo

Boost :

Subject: Re: [boost] [Build] How to find a library (ICU)?
From: Artyom (artyomtnk_at_[hidden])
Date: 2010-03-22 01:47:05


>
> Look at how Boost.Regex does it.
> It also uses ICU.
>

As I already mentioned:

Boost.Regex ICU library search has a bug -- it does not search
correctly debug/release versions when using MSVC compiler.

Also it too tighten to specific platforms/implementations.

So I ask if there is any standard way to do this, as today

   lib z ;

But with fallback, with error reporting if not found, with options
to search where is the library.

I assume that ICU is not the only 3rd part library that Boost uses
so Boost.Build should have some generic find_library like functionality
I just can't find any documentation for it.

BTW: Is there anything like CMAKE_INCLUDE_PATH/CMAKE_LIBRARY_PATH of
CMake or autotools CXXFLAGS/LDFLAGS that allow to pass a path
to libraries -- but in generic way -- to all modules.

Artyom

      


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk