From ea8e7bc35e5c09096c04f5c269451a330d59c49b Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 13 Mar 2018 10:01:13 +0100 Subject: Nicer way of getting Git revision This will need a separate way to create the official releases (which shouldn't have Git revisions attached) --- config.h.cmake.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config.h.cmake.in') diff --git a/config.h.cmake.in b/config.h.cmake.in index 11e0a87c..e56aeab6 100644 --- a/config.h.cmake.in +++ b/config.h.cmake.in @@ -60,3 +60,10 @@ /* Define to the version of this package. */ #define PACKAGE_VERSION "0.6.3" +#define CRYSTFEL_VERSIONSTRING "+@GIT_SHA1@" + +#define CRYSTFEL_BOILERPLATE "License GPLv3+: GNU GPL version 3 or later"\ + " .\n"\ + "This is free software: you are free to change and redistribute it.\n"\ + "There is NO WARRANTY, to the extent permitted by law.\n\n"\ + "Written by Thomas White and others." -- cgit v1.2.3