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
| Name | Description |
|---|---|
| major | Major version number |
| minor | Minor version number |
| patch | Patch version number |
| revision | Source control commit hash (short) |
| ref | Source 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.