aboutsummaryrefslogtreecommitdiff
path: root/libbutl-odb/odb/sqlite/version.hxx
blob: 703cc5e251dd90feee97b9237b33777afd1e5ca2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// file      : odb/sqlite/version.hxx.in
// license   : GNU GPL v2; see accompanying LICENSE file

#ifndef LIBODB_SQLITE_VERSION // Note: using the version macro itself.

// New 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_SQLITE_VERSION_FULL  200004999995281ULL
#define LIBODB_SQLITE_VERSION_STR   "2.5.0-b.28.20240731125623.c6da3d9c4e9f"
#define LIBODB_SQLITE_VERSION_ID    "2.5.0-b.28.c6da3d9c4e9f"

#define LIBODB_SQLITE_VERSION_MAJOR 2
#define LIBODB_SQLITE_VERSION_MINOR 5
#define LIBODB_SQLITE_VERSION_PATCH 0

#define LIBODB_SQLITE_PRE_RELEASE   true

#define LIBODB_SQLITE_SNAPSHOT      20240731125623ULL
#define LIBODB_SQLITE_SNAPSHOT_ID   "c6da3d9c4e9f"

#include <odb/version.hxx>

#ifdef LIBODB_VERSION_FULL
#  if !(LIBODB_VERSION_FULL == 200004999995281ULL && LIBODB_SNAPSHOT == 20240731125623ULL)
#    error incompatible libodb version, libodb == 2.5.0-b.28.20240731125623.c6da3d9c4e9f is required
#  endif
#endif


// Old/deprecated numeric 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
//
#define LIBODB_SQLITE_VERSION 2049978

#endif // LIBODB_SQLITE_VERSION