Jpp  18.6.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Jpp.cc
Go to the documentation of this file.
1 
2 namespace JLANG {
3 
4  /**
5  * Get GIT version.
6  *
7  * \return GIT version
8  */
9  const char* getGITVersion()
10  {
11 #ifdef GIT_VERSION
12  return GIT_VERSION;
13 #else
14  return "?";
15 #endif
16  }
17 
18 
19  /**
20  * Get GIT commit.
21  *
22  * \return GIT commit
23  */
24  const char* getGITCommit()
25  {
26 #ifdef GIT_COMMIT
27  return GIT_COMMIT;
28 #else
29  return "?";
30 #endif
31  }
32 
33 
34  /**
35  * Get GIT date.
36  *
37  * \return GIT date
38  */
39  const char* getGITDate()
40  {
41 #ifdef GIT_DATE
42  return GIT_DATE;
43 #else
44  return "?";
45 #endif
46  }
47 }
const char * getGITDate()
Get GIT date.
Definition: Jpp.cc:39
const char * getGITVersion()
Get GIT version.
Definition: Jpp.cc:9
const char * getGITCommit()
Get GIT commit.
Definition: Jpp.cc:24