|
41 | 41 | #ifndef DISABLE_YGGDRASIL_RAPIDJSON |
42 | 42 | #include <complex> |
43 | 43 | #endif // DISABLE_YGGDRASIL_RAPIDJSON |
| 44 | +#include "yggdrasil_rapidjson_version.h" |
44 | 45 |
|
45 | | -/////////////////////////////////////////////////////////////////////////////// |
46 | | -// YGGDRASIL_RAPIDJSON_VERSION_STRING |
47 | | -// |
48 | | -// ALWAYS synchronize the following 3 macros with corresponding variables in /CMakeLists.txt. |
49 | | -// |
50 | | - |
51 | | -//!@cond YGGDRASIL_RAPIDJSON_HIDDEN_FROM_DOXYGEN |
52 | | -// token stringification |
53 | | -#define YGGDRASIL_RAPIDJSON_STRINGIFY(x) YGGDRASIL_RAPIDJSON_DO_STRINGIFY(x) |
54 | | -#define YGGDRASIL_RAPIDJSON_DO_STRINGIFY(x) #x |
55 | | - |
| 46 | +//!@cond @MACRO_PREFIX@_HIDDEN_FROM_DOXYGEN |
56 | 47 | // token concatenation |
57 | 48 | #define YGGDRASIL_RAPIDJSON_JOIN(X, Y) YGGDRASIL_RAPIDJSON_DO_JOIN(X, Y) |
58 | 49 | #define YGGDRASIL_RAPIDJSON_DO_JOIN(X, Y) YGGDRASIL_RAPIDJSON_DO_JOIN2(X, Y) |
59 | 50 | #define YGGDRASIL_RAPIDJSON_DO_JOIN2(X, Y) X##Y |
60 | 51 | //!@endcond |
61 | 52 |
|
62 | | -/*! \def YGGDRASIL_RAPIDJSON_MAJOR_VERSION |
63 | | - \ingroup YGGDRASIL_RAPIDJSON_CONFIG |
64 | | - \brief Major version of RapidJSON in integer |
65 | | - that this version of YggdrasilRapidJSON is based on. |
66 | | -*/ |
67 | | -/*! \def YGGDRASIL_RAPIDJSON_MINOR_VERSION |
68 | | - \ingroup YGGDRASIL_RAPIDJSON_CONFIG |
69 | | - \brief Minor version of RapidJSON in integer |
70 | | - that this version of YggdrasilRapidJSON is based on. |
71 | | -*/ |
72 | | -/*! \def YGGDRASIL_RAPIDJSON_PATCH_VERSION |
73 | | - \ingroup YGGDRASIL_RAPIDJSON_CONFIG |
74 | | - \brief Patch version of RapidJSON in integer |
75 | | - that this version of YggdrasilRapidJSON is based on. |
76 | | -*/ |
77 | | -/*! \def YGGDRASIL_RAPIDJSON_EXTEN_VERSION |
78 | | - \ingroup YGGDRASIL_RAPIDJSON_CONFIG |
79 | | - \brief Version of YggdrasilRapidJSON based on RapidJSON. |
80 | | -*/ |
81 | | -/*! \def YGGDRASIL_RAPIDJSON_VERSION_STRING |
82 | | - \ingroup YGGDRASIL_RAPIDJSON_CONFIG |
83 | | - \brief Version of RapidJSON in "<major>.<minor>.<patch>.<exten>" string format. |
84 | | -*/ |
85 | | -#define YGGDRASIL_RAPIDJSON_MAJOR_VERSION 1 |
86 | | -#define YGGDRASIL_RAPIDJSON_MINOR_VERSION 1 |
87 | | -#define YGGDRASIL_RAPIDJSON_PATCH_VERSION 0 |
88 | | -#define YGGDRASIL_RAPIDJSON_EXTEN_VERSION 1 |
89 | | -#define YGGDRASIL_RAPIDJSON_VERSION_STRING \ |
90 | | - YGGDRASIL_RAPIDJSON_STRINGIFY(YGGDRASIL_RAPIDJSON_MAJOR_VERSION.YGGDRASIL_RAPIDJSON_MINOR_VERSION.YGGDRASIL_RAPIDJSON_PATCH_VERSION.YGGDRASIL_RAPIDJSON_EXTEN_VERSION) |
91 | 53 |
|
92 | 54 | /////////////////////////////////////////////////////////////////////////////// |
93 | 55 | // YGGDRASIL_RAPIDJSON_NAMESPACE_(BEGIN|END) |
|
0 commit comments