-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathgitVersion.h.in
47 lines (34 loc) · 1.74 KB
/
gitVersion.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* ********************************************************************
itom software
URL: http://www.uni-stuttgart.de/ito
Copyright (C) 2020, Institut für Technische Optik (ITO),
Universität Stuttgart, Germany
This file is part of itom and its software development toolkit (SDK).
itom is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public Licence as published by
the Free Software Foundation; either version 2 of the Licence, or (at
your option) any later version.
In addition, as a special exception, the Institut für Technische
Optik (ITO) gives you certain additional rights.
These rights are described in the ITO LGPL Exception version 1.0,
which can be found in the file LGPL_EXCEPTION.txt in this package.
itom is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library
General Public Licence for more details.
You should have received a copy of the GNU Library General Public License
along with itom. If not, see <http://www.gnu.org/licenses/>.
*********************************************************************** */
#ifndef GITVERSION_H
#define GITVERSION_H
//1 if git commit hash information could or has been fetched, 0 else
#define GITVERSIONAVAILABLE @GITVERSIONAVAILABLE@
//Git commit hash / date of this commit in UTC file format
#define GITVERSION "@GITVERSION@"
//Git full commit hash
#define GITCOMMITHASH "@GITCOMMITHASH@"
//Git short commit hash
#define GITCOMMITHASHSHORT "@GITCOMMITHASHSHORT@"
//date of this commit in UTC file format
#define GITCOMMITDATE "@GITCOMMITDATE@"
#endif