-
Notifications
You must be signed in to change notification settings - Fork 5
/
qtnote_config.h.in
40 lines (31 loc) · 1.21 KB
/
qtnote_config.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
#ifndef CONFIG_H
#define CONFIG_H
#if defined __cplusplus
#include <QtGlobal>
#ifdef Q_OS_WIN
#ifndef WINVER
#define WINVER _WIN32_WINNT_VISTA
#ifndef NOMINMAX
#define NOMINMAX
#endif
#endif
#include <winsock2.h>
#include <winuser.h>
#include <windows.h>
#endif
#endif
#define str_helper(s) #s
#define stringify(s) str_helper(s)
#define APPNAME "@APP_NAME@"
#define DATADIR "@CMAKE_INSTALL_FULL_DATADIR@"
#define LIBDIR "@CMAKE_INSTALL_FULL_LIBDIR@"
#define TRANSLATIONSDIR "@TRANSLATIONSDIR@"
#define QTNOTE_VERSION_MAJOR @qtnote_VERSION_MAJOR@
#define QTNOTE_VERSION_MINOR @qtnote_VERSION_MINOR@
#define QTNOTE_VERSION_PATCH @qtnote_VERSION_PATCH@
#define QTNOTE_VERSION (QTNOTE_VERSION_MAJOR << 16 | QTNOTE_VERSION_MINOR << 8 | QTNOTE_VERSION_PATCH)
#define QTNOTE_VERSION_STR \
stringify(QTNOTE_VERSION_MAJOR) "." stringify(QTNOTE_VERSION_MINOR) "." stringify(QTNOTE_VERSION_PATCH)
#define QTNOTE_VERSION_W \
stringify(QTNOTE_VERSION_MAJOR) "," stringify(QTNOTE_VERSION_MINOR) "," stringify(QTNOTE_VERSION_PATCH)
#endif // CONFIG_H