CARDS 2.4.140
Package manager for the NuTyX GNU/Linux distribution
version.h
1/*
2 * version.h
3 *
4 * Copyright 2015 - 2017 Thierry Nuttens <tnut@nutyx.org>
5 * Copyright 2017 Gianni Peschiutta <artemia@nutyx.org>
6 * Copyright 2017 - 2020 Thierry Nuttens <tnut@nutyx.org>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21 * MA 02110-1301, USA.
22 *
23 *
24 */
25
26#ifndef VERSION_H
27#define VERSION_H
28
29#define STRINGIZE2(s) #s
30#define STRINGIZE(s) STRINGIZE2(s)
31
32#define VERSION_MAJOR 1
33#define VERSION_MINOR 0
34#define VERSION_REVISION 1
35#define VERSION_BUILD 1
36
37#define APP_NAME_STR "flcards"
38#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
39#define VER_FILE_VERSION_STR STRINGIZE(VERSION_MAJOR) \
40 "." STRINGIZE(VERSION_MINOR) \
41 "." STRINGIZE(VERSION_REVISION)
42#ifndef VERSION
43 #define APP_NAME_VERSION_STR APP_NAME_STR \
44 " " VER_FILE_VERSION_STR
45#else
46 #define APP_NAME_VERSION_STR STRINGIZE(VERSION)
47#endif
48
49#endif