diff options
author | albert-github <albert.tests@gmail.com> | 2019-05-31 18:05:14 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-05-31 18:05:14 (GMT) |
commit | cb1ef441b2a4d21cf67a59fe8e57613ba3552051 (patch) | |
tree | 7419e2ddd2e523b5f97cac4fecea102158dd9eb5 /src | |
parent | 4ad23e5d18fc294e00844fd8557f8c5dd6254d6e (diff) | |
download | Doxygen-cb1ef441b2a4d21cf67a59fe8e57613ba3552051.zip Doxygen-cb1ef441b2a4d21cf67a59fe8e57613ba3552051.tar.gz Doxygen-cb1ef441b2a4d21cf67a59fe8e57613ba3552051.tar.bz2 |
Show git version information
Diffstat (limited to 'src')
-rw-r--r-- | src/gitversion.cpp.in | 14 | ||||
-rw-r--r-- | src/version.h | 25 |
2 files changed, 0 insertions, 39 deletions
diff --git a/src/gitversion.cpp.in b/src/gitversion.cpp.in deleted file mode 100644 index cbb9b13..0000000 --- a/src/gitversion.cpp.in +++ /dev/null @@ -1,14 +0,0 @@ -#include <string.h> - -char gitVersionString[]="@GIT_HEAD_SHA1@"; - -/* - On some systems git is not installed or - * installed on a place whete FindGit.cmake cannot find it - * - No git information is present (no .git directory) - * in those cases clear the gitVersionString (would have string GIT-NOTFOUND). - */ -void correctGitVersion(void) -{ - if (!strcmp(gitVersionString, "GIT-NOTFOUND")) gitVersionString[0] = '\0'; -} - diff --git a/src/version.h b/src/version.h deleted file mode 100644 index 09d1b4f..0000000 --- a/src/version.h +++ /dev/null @@ -1,25 +0,0 @@ -/****************************************************************************** - * - * - * - * Copyright (C) 1997-2015 by Dimitri van Heesch. - * - * Permission to use, copy, modify, and distribute this software and its - * documentation under the terms of the GNU General Public License is hereby - * granted. No representations are made about the suitability of this software - * for any purpose. It is provided "as is" without express or implied warranty. - * See the GNU General Public License for more details. - * - * Documents produced by Doxygen are derivative works derived from the - * input used in their production; they are not affected by this license. - * - */ - -#ifndef VERSION_H -#define VERSION_H - -extern char versionString[]; -extern char gitVersionString[]; - -void correctGitVersion(void); -#endif |