Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2008-03-14 14:11:06


a86yes wrote:
> Hello,
>
> The ICU4C readme says that the define U_STATIC_IMPLEMENTATION should
> be defined in user code that links against ICU's
> static libraries. Grepping the entire Boost, I do not see it. Is
> linking against ICU static libraries supported at all and if yes,
> where is the best place to define this macro when building
> Boost.Regex?

It would have to be defined globally for all source files in the project,
you could build with something like:

bjam toolset-name --with-regex define=U_STATIC_IMPLEMENTATION=1 link=static

Or else add the define to boost/regex/user.hpp

HTH, John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net