diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-12-16 20:29:05 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-02-24 16:40:04 +0300 |
commit | 8e761289a2446367267c6c0d9a26e734f0f78306 (patch) | |
tree | fb495d8c18801f271d124ee48731f10df396ca89 /libcutl/version.hxx.in | |
parent | 4c8104756b92b9fa16b3a725e8a6aa620dfd606e (diff) |
Get rid of legacy build systems and rename cutl/ to libcutl/
Diffstat (limited to 'libcutl/version.hxx.in')
-rw-r--r-- | libcutl/version.hxx.in | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/libcutl/version.hxx.in b/libcutl/version.hxx.in new file mode 100644 index 0000000..1edede7 --- /dev/null +++ b/libcutl/version.hxx.in @@ -0,0 +1,38 @@ +// file : libcutl/version.hxx.in -*- C++ -*- +// license : MIT; see accompanying LICENSE file + +#ifndef LIBCUTL_VERSION // Note: using the version macro itself. + +// 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 LIBCUTL_VERSION $libcutl.version.project_number$ULL +#define LIBCUTL_VERSION_STR "$libcutl.version.project$" +#define LIBCUTL_VERSION_ID "$libcutl.version.project_id$" + +#define LIBCUTL_VERSION_MAJOR $libcutl.version.major$ +#define LIBCUTL_VERSION_MINOR $libcutl.version.minor$ +#define LIBCUTL_VERSION_PATCH $libcutl.version.patch$ + +#define LIBCUTL_PRE_RELEASE $libcutl.version.pre_release$ + +#define LIBCUTL_SNAPSHOT $libcutl.version.snapshot_sn$ULL +#define LIBCUTL_SNAPSHOT_ID "$libcutl.version.snapshot_id$" + +#endif // LIBCUTL_VERSION |