Select Git revision
RevisionInfo.hpp
-
Stéphane Del Pino authored
- added pastis version - compilation checks compatibility of version and git revision info - separates git info and version info for git-less compilation
Stéphane Del Pino authored- added pastis version - compilation checks compatibility of version and git revision info - separates git info and version info for git-less compilation
RevisionInfo.hpp 281 B
#ifndef REVISION_INFO_HPP
#define REVISION_INFO_HPP
#include <string>
struct RevisionInfo
{
static std::string version();
static std::string gitTag();
static std::string gitHead();
static std::string gitHash();
static bool gitIsClean();
};
#endif // REVISION_INFO_HPP