···1818 *
1919 ****************************************************************************/
20202121+#include "gitversion.h"
2222+2123// PUREVERSION is needed to be able to just compare versions. It does not
2224// contain a build timestamp because it needs to be the same in different
2325// files
···3840#define VERSIONSTRING(a, b, c) STR(a) "." STR(b) "." STR(c)
3941#define VERSION VERSIONSTRING(VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO) BUILDID
4042// PUREVERSION should identify the build uniquely. Use version string for now.
4141-#define PUREVERSION "$Rev$"
4343+#define PUREVERSION GITHASH
42444343-#define FULLVERSION VERSION " (" PUREVERSION "), built " __DATE__ " " __TIME__
4545+#define FULLVERSION VERSION " (" GITHASH "), built " __DATE__ " " __TIME__
4446