From 8e761289a2446367267c6c0d9a26e734f0f78306 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 16 Dec 2020 20:29:05 +0300 Subject: Get rid of legacy build systems and rename cutl/ to libcutl/ --- libcutl/version.hxx.in | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 libcutl/version.hxx.in (limited to 'libcutl/version.hxx.in') 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 -- cgit v1.1