GDS-Render
v1.2.1
version.c
Go to the documentation of this file.
1
/*
2
* GDSII-Converter
3
* Copyright (C) 2018 Mario Hüttel <mario.huettel@gmx.net>
4
*
5
* This file is part of GDSII-Converter.
6
*
7
* GDSII-Converter is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License version 2 as
9
* published by the Free Software Foundation.
10
*
11
* GDSII-Converter is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with GDSII-Converter. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
27
#ifdef PROJECT_GIT_VERSION
28
#define xstr(a) str(a)
29
#define str(a) #a
30
const
char
*
_app_version_string
=
xstr
(PROJECT_GIT_VERSION);
31
#else
32
const
char
*
_app_version_string
=
"! version not set !"
;
33
#endif
34
35
#ifdef PROJECT_GIT_COMMIT
36
#define xstr(a) str(a)
37
#define str(a) #a
38
const
char
*
_app_git_commit
=
xstr
(PROJECT_GIT_COMMIT);
39
#else
40
const
char
*
_app_git_commit
=
"! Commit hash not available !"
;
41
#endif
42
xstr
#define xstr(a)
Definition:
external-renderer-interfaces.h:25
_app_version_string
const char * _app_version_string
This string holds the Git Based Version Number of the app.
Definition:
version.c:32
_app_git_commit
const char * _app_git_commit
This string holds the git commit hash of the current HEAD revision.
Definition:
version.c:40
version
version.c
Generated by
1.9.3