|
Boost-Build : |
Subject: Re: [Boost-build] [Locale] Help Needed with Boost-Build
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-09-22 14:43:39
On Friday 10 September 2010 14:24:19 Artyom wrote:
> Hello All,
>
> Help From Community Needed
> ==========================
>
>
> Today Boost.Locale can be build only using CMake,
> I need to port it to Boost.Build. Unfortunalty It is
> very complicated task for me for two reasons:
>
> - Quite complicated build requirements
> - Lack of documentation
> - Lack of my experience with BBv2
>
> I've tried but I had no progress, even with previous,
> much simpler version of Boost.Locale which didn't depended
> on iconv and had ICU must to build option and so on.
>
> Can some body please help me with build scripts?
>
> The build requirements are generally following:
> -----------------------------------------------
>
> Input Options:
>
> - with icu - turned on by default.
> - with iconv (turned off by default in Windows and Solaris)
> - with posix-backend (turned on by default on Linux and Mac)
> - with winapi-backend (turned on on windows and cygwin)
> - with std-backend (turned off by default with SunStudio/stlport)
>
> Pre-Build Checks:
>
> - if with icu is on, but no icu found, turn it on
> Note, when building under MSVC/Debug; search for icuXXXd library
> rather then for icuXXX library.
> - if with iconv is on
> if iconv is a part of standard C library, use it
> Otherwise find libiconv, if not found, turn iconv off.
> - if not on Windows and both iconv and icu are off rise
> a error, no - charset conversion tool is given
> - if building under SunStudion make sure it uses -library=stlport4
> flag
> - Ensure threading on
>
> Build Defines:
>
> - Add BOOST_ALL_NO_LIB
> - if icu is enabled:
> Define BOOST_LOCALE_WITH_ICU
> - if iconv enabled and found
> Define BOOST_LOCALE_WITH_ICONV
> else
> Define BOOST_LOCALE_NO_ICONV
Why is BOOST_LOCALE_NO_ICONV needed -- should be inverse of BOOST_LOCALE_WITH_ICONV, no?
Thanks,
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build: http://boost.org/boost-build2
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