Add full git commit to About dialog

This commit is contained in:
2019-08-26 00:05:45 +02:00
parent 91633edc78
commit f60150e8c7
7 changed files with 29 additions and 3 deletions

View File

@@ -33,4 +33,12 @@ const char *_app_version_string = xstr(PROJECT_GIT_VERSION);
const char *_app_version_string = "! version not set !";
#endif
#ifdef PROJECT_GIT_COMMIT
#define xstr(a) str(a)
#define str(a) #a
const char *_app_git_commit = xstr(PROJECT_GIT_COMMIT);
#else
const char *_app_git_commit = "! Commit hash not available !";
#endif
/** @} */