-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappinfo.h
57 lines (48 loc) · 1.75 KB
/
appinfo.h
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
48
49
50
51
52
53
54
55
56
57
#ifndef APPINFO_H
#define APPINFO_H
#define CONCAT_(a,b) a##b
#define CONCAT(a,b) CONCAT_(a,b)
#define STRINGIFY_(s) #s
#define STRINGIFY(s) STRINGIFY_(s)
#define APPNAME "mintty"
#define APPDESC "Terminal"
#define WEBSITE "http://mintty.googlecode.com"
#define AUTHOR "Andy Koppe"
#define YEAR "2013"
#define MAJOR_VERSION 1
#define MINOR_VERSION 2
#define PATCH_NUMBER 0
#define BUILD_NUMBER 1
#if defined SVN_DIR && defined SVN_REV
#undef BUILD_NUMBER
#define BUILD_NUMBER SVN_REV
#define VERSION STRINGIFY(svn-SVN_DIR-CONCAT(r,SVN_REV))
#elif PATCH_NUMBER
#define VERSION STRINGIGY(MAJOR_VERSION.MINOR_VERSION.PATCH_NUMBER)
#elif BUILD_NUMBER
#define VERSION STRINGIFY(MAJOR_VERSION.MINOR_VERSION-CONCAT(beta,BUILD_NUMBER))
#else
#define VERSION STRINGIFY(MAJOR_VERSION.MINOR_VERSION-alpha)
#endif
#define POINT_VERSION \
STRINGIFY(MAJOR_VERSION.MINOR_VERSION.PATCH_NUMBER.BUILD_NUMBER)
#define COMMA_VERSION \
MAJOR_VERSION,MINOR_VERSION,PATCH_NUMBER,BUILD_NUMBER
#define DECIMAL_VERSION \
(MAJOR_VERSION * 10000 + MINOR_VERSION * 100 + PATCH_NUMBER)
#define COPYRIGHT "(C) " YEAR " " AUTHOR
#define VERSION_TEXT \
APPNAME " " VERSION " (" STRINGIFY(TARGET) ")\n" \
COPYRIGHT "\n" \
"License GPLv3+: GNU GPL version 3 or later\n" \
"There is no warranty, to the extent permitted by law.\n"
#define ABOUT_TEXT \
"Thanks to Simon Tatham and the other contributors for their\n"\
"great work on PuTTY, which mintty is largely based on. Thanks\n" \
"also to Thomas Wolff and Chris Sutcliffe for lots of testing and\n" \
"advice, and to KDE's Oxygen team for the program icon.\n" \
"\n" \
"Please report bugs or request enhancements through the\n" \
"issue tracker on the mintty project page located at\n" \
WEBSITE ".\n"
#endif