9#ifndef AVARA3D_BUILDINFO_H
10#define AVARA3D_BUILDINFO_H
86 const std::tm&
time()
const;
Exposes version and build metadata compiled into the A3D library.
unsigned number() const
Returns the CI build number, or zero for an ad-hoc build.
const std::tm & time() const
Returns the recorded build time as calendar components.
static const BuildInfo & Info()
Returns the process-wide BuildInfo for the linked A3D library.
Origin
Origin of the build metadata.
static std::string VersionString(const Version &version)
Formats version as a dotted major.minor.patch string.
static std::string TypeString(Type type)
Returns the canonical string for type.
const Version & version() const
Returns the semantic version compiled into the library.
Type
Build configuration used to compile the library.
Type type() const
Returns the build configuration.
static std::string OriginString(Origin origin)
Returns the canonical string for origin.
Origin origin() const
Returns whether the build metadata originated from CI or an ad-hoc build.
Major, minor, and patch components of an A3D version.
int minor
Minor version component.
int major
Major version component.
int patch
Patch version component.