mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
69d9afd75a
Set the first version component to be the same as the last Subversion-based release build version and add two more components (major and minor version numbers). To allow for nightly build updates this should probably include another component (e.g. build timestamp), but we're not there yet.
16 lines
725 B
C
16 lines
725 B
C
#pragma once
|
|
|
|
#define PEERID_PREFIX "${TR_PEER_ID_PREFIX}"
|
|
#define USERAGENT_PREFIX "${TR_USER_AGENT_PREFIX}"
|
|
#define VCS_REVISION "${TR_VCS_REVISION}"
|
|
#define VCS_REVISION_NUM ${TR_VCS_REVISION}
|
|
#define SHORT_VERSION_STRING "${TR_USER_AGENT_PREFIX}"
|
|
#define LONG_VERSION_STRING "${TR_USER_AGENT_PREFIX} (${TR_VCS_REVISION})"
|
|
#define VERSION_STRING_INFOPLIST ${TR_USER_AGENT_PREFIX}
|
|
#define BUILD_STRING_INFOPLIST 14714.${TR_VERSION_MAJOR}.${TR_VERSION_MINOR}
|
|
#define MAJOR_VERSION ${TR_VERSION_MAJOR}
|
|
#define MINOR_VERSION ${TR_VERSION_MINOR}
|
|
|
|
#cmakedefine TR_BETA_RELEASE 1
|
|
#cmakedefine TR_NIGHTLY_RELEASE 1
|
|
#cmakedefine TR_STABLE_RELEASE 1
|