This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresqliteun-config.h.in
131 lines (109 loc) · 3.32 KB
/
resqliteun-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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/**
* @file resqliteun-config.h
* @brief The content of this file is dynamically generated at compile time by CMake.
* @author Nicu Tofan <nicu.tofan@gmail.com>
* @copyright Copyright 2014 piles contributors. All rights reserved.
* This file is released under the
* [MIT License](http://opensource.org/licenses/mit-license.html)
*/
#ifndef GUARD_RESQLITEUN_CONFIG_H_INCLUDE
#define GUARD_RESQLITEUN_CONFIG_H_INCLUDE
/**
* @def Qt5Core_FOUND
* @brief When defined indicates that the Qt 5 headers are available
*/
#ifndef Qt5Core_FOUND
#cmakedefine Qt5Core_FOUND
#endif
/**
* @def Qt4_FOUND
* @brief When defined indicates that the Qt 4 headers are available
*/
#ifndef Qt4_FOUND
#cmakedefine Qt4_FOUND
#endif
/**
* @def PILES_HAVE_QT
* @brief When defined indicates that either Qt 4 or Qt 5 headers are available
*/
#if defined(Qt5Core_FOUND) || defined(Qt4_FOUND)
#ifndef PILES_HAVE_QT
#define PILES_HAVE_QT
#endif
#endif
// use Qt definitions when available
#ifdef PILES_HAVE_QT
#include <QtGlobal>
#endif
//! the name of this project
#define RESQLITEUN_PROJECT_NAME "@RESQLITEUN_NAME@"
//! major version (ABI not preserved between these)
#define RESQLITEUN_MAJOR_VERSION (@RESQLITEUN_MAJOR_VERSION@)
//! minor version; ABI is preserved
#define RESQLITEUN_MINOR_VERSION (@RESQLITEUN_MINOR_VERSION@)
//! bug fixes
#define RESQLITEUN_PATCH_VERSION (@RESQLITEUN_PATCH_VERSION@)
//! the version as a 32-bit integer
#define RESQLITEUN_VERSION (\
RESQLITEUN_MAJOR_VERSION * 0x100000 + \
RESQLITEUN_MINOR_VERSION * 0x1000 + \
RESQLITEUN_PATCH_VERSION * 0x1)
//! version as a string
#define RESQLITEUN_VERSION_STRING "@RESQLITEUN_VERSION_STRING@"
//! when it was build (UTC)
#define RESQLITEUN_BUILD_TIME "@RESQLITEUN_BUILD_TIME@"
/**
* @def RESQLITEUN_DEBUG
* @brief Indicates whether the debug features should be enabled or disabled
*/
#ifndef RESQLITEUN_DEBUG
# ifdef RESQLITEUN_FORCE_DEBUG
# define RESQLITEUN_DEBUG 1
# else
#cmakedefine RESQLITEUN_DEBUG
# endif
#endif
/**
* @def RESQLITEUN_STATIC
* @brief If defined it indicates a static library being build
*/
#cmakedefine RESQLITEUN_STATIC
/**
* @def RESQLITEUN_PILE
* @brief If defined it indicates a pile usage
*/
#cmakedefine RESQLITEUN_PILE
/**
* @def RESQLITEUN_SHARED
* @brief If defined it indicates a shared library
*
* RESQLITEUN_SHARED is defined when building the project
* and undefined when a file from another project
* includes the file.
*/
/**
* @def RESQLITEUN_EXPORT
* @brief makes the sources compatible with all kinds of deployments.
*/
#if defined(RESQLITEUN_STATIC)
# define RESQLITEUN_EXPORT
#elif defined(RESQLITEUN_PILE)
# define RESQLITEUN_EXPORT @RESQLITEUN_EXPORT@
#elif defined(RESQLITEUN_SHARED)
# ifdef PILES_HAVE_QT
# define RESQLITEUN_EXPORT Q_DECL_EXPORT
# elif defined(_MSC_VER)
# define RESQLITEUN_EXPORT __declspec(dllexport)
# else
# define RESQLITEUN_EXPORT __attribute__((visibility("default")))
# endif
#else
# ifdef PILES_HAVE_QT
# define RESQLITEUN_EXPORT Q_DECL_IMPORT
# elif defined(_MSC_VER)
# define RESQLITEUN_EXPORT __declspec(dllimport)
# else
# define RESQLITEUN_EXPORT __attribute__((visibility("default")))
# endif
#endif
#endif // GUARD_RESQLITEUN_CONFIG_H_INCLUDE