mirror of
https://github.com/boostorg/regex.git
synced 2025-07-29 20:17:24 +02:00
Update documentation for ICU usage.
Regenerate docs.
This commit is contained in:
@ -36,12 +36,24 @@ then the library will automoatically enter standalone mode. Or:
|
||||
* Define BOOST_REGEX_STANDALONE when building.
|
||||
|
||||
If you are using this library with ICU, note that since it is now header only, it will be up to you
|
||||
to link to the ICU libraries if you use `<boost/regex/icu.hpp>`. Also note that the installed CMake file
|
||||
for Boost.Regex [/does not] list ICU as a dependency.
|
||||
to link to the ICU libraries if you use `<boost/regex/icu.hpp>` unless you are using the supplied CMake script.
|
||||
|
||||
[h4 [*C++03 users only (Deprecated)] Building with bjam]
|
||||
[h4 Usage with CMake]
|
||||
|
||||
This is now the preferred method for building and installing this library,
|
||||
The library comes with a very basic CMakeLists.txt that allows this library to be used from other CMake scripts.
|
||||
|
||||
CMakeLists.txt defines two targets:
|
||||
|
||||
* `Boost::regex` This is the target to use for normal header only builds.
|
||||
* `Boost::regex_icu` This is the target to use if you are using `<boost/regex/icu.hpp>` in your code, and wish to have the ICU dependencies taken care of for you.
|
||||
|
||||
There is also one configuration option:
|
||||
|
||||
* BOOST_REGEX_STANDALONE when set then no other Boost libraries are targeted as dependencies, and Boost.Regex is placed in standalone mode.
|
||||
|
||||
[h4 [*C++03 users only (DEPRECATED)] Building with bjam]
|
||||
|
||||
This is now the preferred method for building and installing legacy versions this library,
|
||||
please refer to the
|
||||
[@../../../../more/getting_started.html getting started guide] for more information.
|
||||
|
||||
|
Reference in New Issue
Block a user