Jpp
master_rocky-40-g5f0272dcd
the software that should make you happy
software
JLang
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
}
JLANG
Auxiliary classes and methods for language specific functionality.
Definition:
JAbstractClass.hh:11
JLANG::getGITDate
const char * getGITDate()
Get GIT date.
Definition:
Jpp.cc:39
JLANG::getGITVersion
const char * getGITVersion()
Get GIT version.
Definition:
Jpp.cc:9
JLANG::getGITCommit
const char * getGITCommit()
Get GIT commit.
Definition:
Jpp.cc:24
Generated by
1.9.1