Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FreeRDP/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntenore Gatta <antenore@simbiosi.org>2016-01-21 00:40:43 +0300
committerAntenore Gatta <antenore@simbiosi.org>2016-01-21 00:40:43 +0300
commitbe2c4582df6e21f4840d5dbf3baa2486bda1cd05 (patch)
tree5d8b914ecb6d6b6aa89d491365d677bc71c44879 /config.h.in
parent7ee7da6f9275679a173478fca0ede60d13fb6836 (diff)
Git commit hash added to version
Now remmina version show something like "1.2.0-rcgit.8 (git 194cc9d)" Having a git commit id helps to identify builds and eases debuggin. The downside is that GetGitRevisionDescription retriggers a cmake re-configuration after each git commit. But thats the only way to get correct version informations without having git hooks or similar. GetGitRevisionDescription is based on Ryan Pavlik cmake Modules and @bmiklautz patch 32390d7 in FreeRDP
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 385d47ed6..e75364419 100644
--- a/config.h.in
+++ b/config.h.in
@@ -16,6 +16,8 @@
#define remmina "remmina"
#define VERSION "${REMMINA_VERSION}"
+#define GIT_REVISION "${GIT_REVISION}"
+
#define GETTEXT_PACKAGE remmina
#define REMMINA_DATADIR "${REMMINA_DATADIR}"