|
4 | 4 |
|
5 | 5 | /// \file config_ver.h
|
6 | 6 | /// \brief Library configuration file
|
| 7 | +/// \details <tt>config_ver.h</tt> provides defines for library and compiler |
| 8 | +/// versions. |
7 | 9 | /// \details <tt>config.h</tt> was split into components in May 2019 to better
|
8 | 10 | /// integrate with Autoconf and its feature tests. The splitting occurred so
|
9 | 11 | /// users could continue to include <tt>config.h</tt> while allowing Autoconf
|
10 | 12 | /// to write new <tt>config_asm.h</tt> and new <tt>config_cxx.h</tt> using
|
11 | 13 | /// its feature tests.
|
| 14 | +/// \note You should include <tt>config.h</tt> rather than <tt>config_ver.h</tt> |
| 15 | +/// directly. |
12 | 16 | /// \sa <A HREF="https://github.com/weidai11/cryptopp/issues/835">Issue 835</A>
|
13 | 17 | /// \since Crypto++ 8.3
|
14 | 18 |
|
15 | 19 | #ifndef CRYPTOPP_CONFIG_VERSION_H
|
16 | 20 | #define CRYPTOPP_CONFIG_VERSION_H
|
17 | 21 |
|
18 |
| -// Library version macro. Since this macro is in a header, it reflects |
19 |
| -// the version of the library the headers came from. It is not |
20 |
| -// necessarily the version of the library built as a shared object if |
21 |
| -// versions are inadvertently mixed and matched. |
| 22 | +/// \brief Library major version |
| 23 | +/// \details CRYPTOPP_MAJOR reflects the major version of the library the |
| 24 | +/// headers came from. It is not necessarily the version of the library built |
| 25 | +/// as a shared object if versions are inadvertently mixed and matched. |
| 26 | +/// \sa CRYPTOPP_VERSION, LibraryVersion(), HeaderVersion() |
| 27 | +/// \since Crypto++ 8.2 |
22 | 28 | #define CRYPTOPP_MAJOR 8
|
| 29 | +/// \brief Library minor version |
| 30 | +/// \details CRYPTOPP_MINOR reflects the minor version of the library the |
| 31 | +/// headers came from. It is not necessarily the version of the library built |
| 32 | +/// as a shared object if versions are inadvertently mixed and matched. |
| 33 | +/// \sa CRYPTOPP_VERSION, LibraryVersion(), HeaderVersion() |
| 34 | +/// \since Crypto++ 8.2 |
23 | 35 | #define CRYPTOPP_MINOR 4
|
| 36 | +/// \brief Library revision number |
| 37 | +/// \details CRYPTOPP_REVISION reflects the revision number of the library the |
| 38 | +/// headers came from. It is not necessarily the revision of the library built |
| 39 | +/// as a shared object if versions are inadvertently mixed and matched. |
| 40 | +/// \sa CRYPTOPP_VERSION, LibraryVersion(), HeaderVersion() |
| 41 | +/// \since Crypto++ 8.2 |
24 | 42 | #define CRYPTOPP_REVISION 0
|
| 43 | + |
| 44 | +/// \brief Full library version |
| 45 | +/// \details CRYPTOPP_VERSION reflects the version of the library the headers |
| 46 | +/// came from. It is not necessarily the version of the library built as a |
| 47 | +/// shared object if versions are inadvertently mixed and matched. |
| 48 | +/// \sa CRYPTOPP_MAJOR, CRYPTOPP_MINOR, CRYPTOPP_REVISION, LibraryVersion(), HeaderVersion() |
| 49 | +/// \since Crypto++ 5.6 |
25 | 50 | #define CRYPTOPP_VERSION 840
|
26 | 51 |
|
27 | 52 | // Compiler version macros
|
|
0 commit comments