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

@ -27,6 +27,23 @@
#pragma warning(disable:1418 981 383 1419 7)
#endif
#ifndef BOOST_WORKAROUND
#define BOOST_WORKAROUND(x, y) false
#endif
#ifdef BOOST_REGEX_STANDALONE
#include <cstdint>
namespace boost { using std::uint32_t; }
#define BOOST_JOIN(X, Y) BOOST_DO_JOIN(X, Y)
#define BOOST_DO_JOIN(X, Y) BOOST_DO_JOIN2(X,Y)
#define BOOST_DO_JOIN2(X, Y) X##Y
#define BOOST_STRINGIZE(X) BOOST_DO_STRINGIZE(X)
#define BOOST_DO_STRINGIZE(X) #X
#endif
#include <typeinfo>
#include "test_not_regex.hpp"
#include "test_regex_search.hpp"