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-build2.hxx.in | |
parent | 4df547b027c0011dcc8a47d268a8a29f8a8d67be (diff) |
Turn libodb-boost repository into package for muti-package repository
Diffstat (limited to 'libodb-boost/odb/boost/version-build2.hxx.in')
-rw-r--r-- | libodb-boost/odb/boost/version-build2.hxx.in | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/libodb-boost/odb/boost/version-build2.hxx.in b/libodb-boost/odb/boost/version-build2.hxx.in new file mode 100644 index 0000000..37a1ffc --- /dev/null +++ b/libodb-boost/odb/boost/version-build2.hxx.in @@ -0,0 +1,46 @@ +// file : odb/boost/version-build2.hxx.in +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef LIBODB_BOOST_VERSION // Note: using the version macro itself. + +// @@ TODO: need to derive automatically (it is also hardcoded in *.options). +// +#define ODB_BOOST_VERSION 2047600 + +// The numeric version format is AAAAABBBBBCCCCCDDDE where: +// +// AAAAA - major version number +// BBBBB - minor version number +// CCCCC - bugfix version number +// DDD - alpha / beta (DDD + 500) version number +// E - final (0) / snapshot (1) +// +// When DDDE is not 0, 1 is subtracted from AAAAABBBBBCCCCC. For example: +// +// Version AAAAABBBBBCCCCCDDDE +// +// 0.1.0 0000000001000000000 +// 0.1.2 0000000001000020000 +// 1.2.3 0000100002000030000 +// 2.2.0-a.1 0000200001999990010 +// 3.0.0-b.2 0000299999999995020 +// 2.2.0-a.1.z 0000200001999990011 +// +#define LIBODB_BOOST_VERSION $libodb_boost.version.project_number$ULL +#define LIBODB_BOOST_VERSION_STR "$libodb_boost.version.project$" +#define LIBODB_BOOST_VERSION_ID "$libodb_boost.version.project_id$" + +#define LIBODB_BOOST_VERSION_MAJOR $libodb_boost.version.major$ +#define LIBODB_BOOST_VERSION_MINOR $libodb_boost.version.minor$ +#define LIBODB_BOOST_VERSION_PATCH $libodb_boost.version.patch$ + +#define LIBODB_BOOST_PRE_RELEASE $libodb_boost.version.pre_release$ + +#define LIBODB_BOOST_SNAPSHOT $libodb_boost.version.snapshot_sn$ULL +#define LIBODB_BOOST_SNAPSHOT_ID "$libodb_boost.version.snapshot_id$" + +#include <odb/version.hxx> + +$libodb.check(LIBODB_VERSION, LIBODB_SNAPSHOT)$ + +#endif // LIBODB_BOOST_VERSION |