diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-02-01 19:54:03 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-02-01 19:54:41 +0300 |
commit | 9558ab9623683b778df50e419fa741aaed019ca0 (patch) | |
tree | 207f7209fa5961f590feaee54edcf63c6ad7cae8 /libodb-boost/odb/boost/version.hxx | |
parent | 4df547b027c0011dcc8a47d268a8a29f8a8d67be (diff) |
Turn libodb-boost repository into package for muti-package repository
Diffstat (limited to 'libodb-boost/odb/boost/version.hxx')
-rw-r--r-- | libodb-boost/odb/boost/version.hxx | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/libodb-boost/odb/boost/version.hxx b/libodb-boost/odb/boost/version.hxx new file mode 100644 index 0000000..c46e21a --- /dev/null +++ b/libodb-boost/odb/boost/version.hxx @@ -0,0 +1,55 @@ +// file : odb/boost/version.hxx +// license : GNU GPL v2; see accompanying LICENSE file + +#ifdef LIBODB_BOOST_BUILD2 +# include <odb/boost/version-build2.hxx> +#else + +#ifndef ODB_BOOST_VERSION_HXX +#define ODB_BOOST_VERSION_HXX + +#include <odb/pre.hxx> + +#include <odb/version.hxx> + +// Version format is AABBCCDD where +// +// AA - major version number +// BB - minor version number +// CC - bugfix version number +// DD - alpha / beta (DD + 50) version number +// +// When DD is not 00, 1 is subtracted from AABBCC. For example: +// +// Version AABBCCDD +// 2.0.0 02000000 +// 2.1.0 02010000 +// 2.1.1 02010100 +// 2.2.0.a1 02019901 +// 3.0.0.b2 02999952 +// + +// Check that we have compatible ODB version. +// +#if ODB_VERSION != 20476 +# error incompatible odb interface version detected +#endif + +// ODB Boost interface version: odb interface version plus the Boost interface +// version. +// +#define ODB_BOOST_VERSION 2047600 +#define ODB_BOOST_VERSION_STR "2.5.0-b.26" + +// libodb-boost version: odb interface version plus the bugfix version. Note +// that LIBODB_BOOST_VERSION is always greater or equal to ODB_BOOST_VERSION +// since if the Boost interface virsion is incremented then the bugfix version +// must be incremented as well. +// +#define LIBODB_BOOST_VERSION 2049976 +#define LIBODB_BOOST_VERSION_STR "2.5.0-b.26" + +#include <odb/post.hxx> + +#endif // ODB_BOOST_VERSION_HXX +#endif // LIBODB_BOOST_BUILD2 |