1#ifndef _uhal_version_hpp_
2#define _uhal_version_hpp_
9#include "boost/optional.hpp"
10#include "boost/variant.hpp"
13#define UHAL_VERSION_MAJOR __PROJECT_VERSION_MAJOR__
14#define UHAL_VERSION_MINOR __PROJECT_VERSION_MINOR__
15#define UHAL_VERSION_PATCH __PROJECT_VERSION_PATCH__
17#define UHAL_VERSION (10000 * UHAL_VERSION_MAJOR + 100 * UHAL_VERSION_MINOR + UHAL_VERSION_PATCH)
40 boost::optional<std::pair<RefType, std::string>>
ref;
61 boost::optional<Git>
vcs;
64 boost::variant<LocalBuild, GitLabBuild>
build;
const PackageInfo & getPackageInfo()
const PackageInfo::Version & getVersion()
boost::optional< std::pair< RefType, std::string > > ref
boost::optional< std::string > prerelease
boost::variant< LocalBuild, GitLabBuild > build
boost::optional< Git > vcs