Skip to main content
Version: 0.6 (Latest)

Version API

Version

struct Version

Version and build information

Contains semantic version numbers and build metadata from source control. This is a generic version structure that can be used across different components.

Variables

NameDescription
majorMajor version number
minorMinor version number
patchPatch version number
revisionSource control commit hash (short)
refSource control tag if built from tag, otherwise branch name

Variable Details

major

int major

Major version number

minor

int minor

Minor version number

patch

int patch

Patch version number

revision

std::string_view revision

Source control commit hash (short)

ref

std::string_view ref

Source control tag if built from tag, otherwise branch name


Raptor Guide Version

Version

inline const raptor::utils::Version Version
{
.major = 0,
.minor = 6,
.patch = 0,
.revision = "681c9ed2",
.ref = "master"
};

Raptor Guide™ SDK version information

Contains the version and build metadata for the Guide SDK. This is populated at configure time from the project version and Git metadata.