forked from arc/libarc-uri
38 lines
1.3 KiB
C++
38 lines
1.3 KiB
C++
#ifndef arc__uri__export_hxx_
|
|
#define arc__uri__export_hxx_
|
|
|
|
// 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 LIBARC_URI_VERSION $libarc_uri.version.project_number$ULL
|
|
#define LIBARC_URI_VERSION_STR "$libarc_uri.version.project$"
|
|
#define LIBARC_URI_VERSION_ID "$libarc_uri.version.project_id$"
|
|
#define LIBARC_URI_VERSION_FULL "$libarc_uri.version$"
|
|
|
|
#define LIBARC_URI_VERSION_MAJOR $libarc_uri.version.major$
|
|
#define LIBARC_URI_VERSION_MINOR $libarc_uri.version.minor$
|
|
#define LIBARC_URI_VERSION_PATCH $libarc_uri.version.patch$
|
|
|
|
#define LIBARC_URI_PRE_RELEASE $libarc_uri.version.pre_release$
|
|
|
|
#define LIBARC_URI_SNAPSHOT_SN $libarc_uri.version.snapshot_sn$ULL
|
|
#define LIBARC_URI_SNAPSHOT_ID "$libarc_uri.version.snapshot_id$"
|
|
|
|
#endif
|