TypeIndex is a header only library and it does not use Boost libraries that
require building. You just need to
to start using it.
The library supports a number of configuration macros, defining which require full rebuild of all the projects that use TypeIndex:
Table 41.1. Configuration macros
Macro that allows you to use your own implementation of TypeIndex instead of the default all around the projects and libraries.
Macro that must be defined if you are mixing RTTI-on and RTTI-off.
Macros that allow you to specify parsing options and type name generating macro for RTTI-off cases.
You can define configuration macros in the
command line using one of the following approaches:
b2 variant=release define=BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY stage
b2 variant=release "define=BOOST_TYPE_INDEX_CTTI_USER_DEFINED_PARSING='(39, 1, true, \"T = \")'" stage
However, it may be more convenient to define configuration macros in the "boost/config/user.hpp" file in order to automatically define them both for the library and user's projects.