mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
89d6533cd7
* build: semver versioning Xref: https://github.com/transmission/transmission/issues/1037 * test: add base62 tests for client-id * build: include PATCH_VERSION in Transmission.rc.in * build: semver versioning in version.h * fixup! build: semver versioning in version.h undo experimental verison changes that were made for testing purposes * Fixup version in MSI package filename Co-authored-by: Mike Gelfand <mikedld@mikedld.com>
17 lines
799 B
C
17 lines
799 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}.${TR_VERSION_PATCH}
|
|
#define MAJOR_VERSION ${TR_VERSION_MAJOR}
|
|
#define MINOR_VERSION ${TR_VERSION_MINOR}
|
|
#define PATCH_VERSION ${TR_VERSION_PATCH}
|
|
|
|
#cmakedefine TR_BETA_RELEASE 1
|
|
#cmakedefine TR_NIGHTLY_RELEASE 1
|
|
#cmakedefine TR_STABLE_RELEASE 1
|