23#include <core/config.h>
#define H2CORE_VERSION_PATCH
Will contain the current patch version number of Hydrogen and is set by cmake.
#define H2CORE_VERSION_MAJOR
Will contain the current major version number of Hydrogen and is set by cmake.
#define H2CORE_VERSION_MINOR
Will contain the current minor version number of Hydrogen and is set by cmake.
#define H2CORE_VERSION
A concatenation of H2CORE_VERSION_MAJOR, H2CORE_VERSION_MINOR, H2CORE_VERSION_PATCH,...
std::string get_version()
Returns the current Hydrogen version string.
bool version_older_than(int major, int minor, int patch)
return true of the current version is older than the given values
static const std::string version