Add testing of standalone mode.

Allow tests to be built in standalone mode.
Update CI.
Update docs.
This commit is contained in:
jzmaddock
2022-12-09 18:24:24 +00:00
parent 2a8e6d9189
commit 3e4bcb75b6
10 changed files with 142 additions and 15 deletions

View File

@ -20,10 +20,25 @@
// We can only build this if we have ICU support:
//
#include <boost/regex/config.hpp>
#ifdef __has_include
#if __has_include(<unicode/utypes.h>)
#define BOOST_HAS_ICU
#endif
#endif
#if defined(BOOST_HAS_ICU) && !defined(BOOST_NO_STD_WSTRING)
#include <boost/regex/icu.hpp>
#ifndef BOOST_REGEX_STANDALONE
#include <boost/mpl/int.hpp>
#else
#include <type_traits>
namespace boost { namespace mpl {
template <int I>
using int_ = ::std::integral_constant<int, I>;
} }
#endif
#include "test.hpp"
namespace unnecessary_fix{