copy/libcopy-test/version.hxx.in
RYAN 67a74bb7bb
Some checks failed
on-push / build-and-test (push) Failing after 7s
wip
2024-09-02 01:43:44 +02:00

35 lines
1.3 KiB
C++

#pragma once
// 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 LIBCOPY_TEST_VERSION $libcopy_test.version.project_number$ULL
#define LIBCOPY_TEST_VERSION_STR "$libcopy_test.version.project$"
#define LIBCOPY_TEST_VERSION_ID "$libcopy_test.version.project_id$"
#define LIBCOPY_TEST_VERSION_FULL "$libcopy_test.version$"
#define LIBCOPY_TEST_VERSION_MAJOR $libcopy_test.version.major$
#define LIBCOPY_TEST_VERSION_MINOR $libcopy_test.version.minor$
#define LIBCOPY_TEST_VERSION_PATCH $libcopy_test.version.patch$
#define LIBCOPY_TEST_PRE_RELEASE $libcopy_test.version.pre_release$
#define LIBCOPY_TEST_SNAPSHOT_SN $libcopy_test.version.snapshot_sn$ULL
#define LIBCOPY_TEST_SNAPSHOT_ID "$libcopy_test.version.snapshot_id$"