Document new build changes + standalone mode.

This commit is contained in:
jzmaddock
2021-01-25 11:52:44 +00:00
parent 4b4041c04d
commit 33c9ed2d42
7 changed files with 75 additions and 100 deletions

View File

@ -20,13 +20,22 @@ process is the same as for all of boost; see the
The library will encase all code inside namespace boost.
Unlike some other template libraries, this library consists of a mixture of
template code (in the headers) and static code and data (in cpp files).
Consequently it is necessary to build the library's support code into a
library or archive file before you can use it, instructions for specific
platforms are as follows:
This is a header only library provided your compiler supports C++11 or later. Support for
C++03 compilers is still present, but is now deprecated and may be removed without further notice!
[h4 Building with bjam]
The only people that still need to build the external libboost_regex library are those that are either:
* Using the library in C++03 mode, or,
* Using the deprecated POSIX C API's
Further, this library may now be used in "standalone" mode without the rest of the Boost C++ libraries,
in order to do this you must either:
* Have a C++17 compiler that supports `__has_include`, in this case if `<boost/config.hpp>` is not present
then the library will automoatically enter standalone mode. Or:
* Define BOOST_REGEX_STANDALONE when building.
[h4 [*C++03 users only (Deprecated)] Building with bjam]
This is now the preferred method for building and installing this library,
please refer to the