12 lines
270 B
C++
12 lines
270 B
C++
#include "versionstring.h"
|
|
|
|
using std::string;
|
|
|
|
namespace gitversion {
|
|
|
|
const string &VersionString() {
|
|
static const string VERSION_STRING = GIT_VERSION_STRING; // GIT_VERSION_STRING is set by our CMake file as a macro
|
|
return VERSION_STRING;
|
|
}
|
|
}
|