-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.h.cmake
221 lines (147 loc) · 6.2 KB
/
config.h.cmake
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
/* Macros for CLANG*/
#ifdef __clang__
/* Macros for CLANG in Windows*/
#ifdef WIN32
#pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant"
#pragma clang diagnostic ignored "-Wc++98-compat"
#pragma clang diagnostic ignored "-Wold-style-cast"
#pragma clang diagnostic ignored "-Wdocumentation"
#pragma clang diagnostic ignored "-Wdocumentation-pedantic"
#pragma clang diagnostic ignored "-Wreserved-id-macro"
#pragma clang diagnostic ignored "-Wextra-semi"
#pragma clang diagnostic ignored "-Wc++98-compat-pedantic"
#pragma clang diagnostic ignored "-Wexit-time-destructors"
#pragma clang diagnostic ignored "-Wfloat-equal"
#pragma clang diagnostic ignored "-Wglobal-constructors"
#pragma clang diagnostic ignored "-Wsign-conversion"
#pragma clang diagnostic ignored "-Wundef"
#pragma clang diagnostic ignored "-Wextra-semi-stmt"
#pragma clang diagnostic ignored "-Wmicrosoft-enum-value"
#pragma clang diagnostic ignored "-Wdeprecated-copy-dtor"
#pragma clang diagnostic ignored "-Wcovered-switch-default"
#pragma clang diagnostic ignored "-Wimplicit-int-float-conversion"
#pragma clang diagnostic ignored "-Wunknown-argument"
#pragma clang diagnostic ignored "-Wcast-qual"
#pragma clang diagnostic ignored "-Wsign-compare"
#pragma clang diagnostic ignored "-Wundefined-func-template"
#pragma clang diagnostic ignored "-Wheader-hygiene"
#pragma clang diagnostic ignored "-Wanon-enum-enum-conversion"
#pragma clang diagnostic ignored "-Wlanguage-extension-token"
#pragma clang diagnostic ignored "-Wlanguage-extension-token"
#pragma clang diagnostic ignored "-Wshadow"
#pragma clang diagnostic ignored "-Wundefined-reinterpret-cast"
#pragma clang diagnostic ignored "-Wcast-align"
#pragma clang diagnostic ignored "-Wshadow-field"
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#pragma clang diagnostic ignored "-Wdouble-promotion"
#pragma clang diagnostic ignored "-Wnonportable-system-include-path"
#pragma clang diagnostic ignored "-Winconsistent-missing-destructor-override"
#pragma clang diagnostic ignored "-Wsuggest-override"
#pragma clang diagnostic ignored "-Wsuggest-destructor-override"
#pragma clang diagnostic ignored "-Wswitch-enum"
#pragma clang diagnostic ignored "-Wglobal-constructors"
#pragma clang diagnostic ignored "-Wexit-time-destructors"
/* CLANG in Windows */
#endif
/* CLANG */
#endif
/* Macros for Microsoft Visual Studio */
#ifdef _MSC_VER
/* Disable "decorated name length exceeded, name was truncated" warnings. */
#pragma warning(disable: 4503)
/* Disable "identifier truncated in debug info" warnings. */
#pragma warning(disable: 4786)
/* Disable "C++ Exception Specification ignored" warnings */
#pragma warning(disable: 4290)
/* Disable DLL-Interface warnings */
#pragma warning(disable: 4251)
/* Disable integer overflow in arithmetics warnings */
#pragma warning(disable: 26451)
/* Disable inline function warnings */
#pragma warning(disable: 4514 4710)
/* Disable byte padding warnings */
#pragma warning(disable: 4820)
/* Disable unhandled switch case warnings (which get triggered even with a default branch) */
#pragma warning(disable: 4061)
/* Disable implicitly deleted assignment operator / constructor warnings */
#pragma warning(disable: 4623 4625 4626 5026 5027)
/* Disable casting int to unsigned warnings which get triggered by almost every access to a vector by index */
#pragma warning(disable: 4365)
/* Disable spectre warnings */
#pragma warning(disable: 5045)
/* Disable undefined macro in #if warnings */
#pragma warning(disable: 4668)
/* Disable class layout warnings */
#pragma warning(disable: 4371)
/* Disable potential exception in C function warnings */
#pragma warning(disable: 5039)
/* Disable "unsafe" warnings for crt functions in VC++ 2005. */
#if _MSC_VER >= 1400
#define _CRT_SECURE_NO_WARNINGS
#endif
/* define WIN32 */
#ifndef WIN32
#define WIN32
#endif
/* Define for dynamic Fox linkage */
#define FOXDLL 1
/* define default constructor for FOX moduls (Visual Studio) */
#define FOX_CONSTRUCTOR(classname) __pragma(warning(suppress: 26495)) \
classname() {}
/* Macros for GNU Compiler */
#else
/* defined if we're using MINGW32 */
#cmakedefine MINGW32
/* Windows (MinGW32) */
#ifdef MINGW32
/* Define WIN32 */
#ifndef WIN32
#define WIN32
#endif
/* Define for dynamic Fox linkage */
#define FOXDLL 1
/* MinGW32 */
#endif
/* Define default constructor for FOX moduls */
#define FOX_CONSTRUCTOR(classname) classname() {}
/* Visual Studio */
#endif
/* Reporting string for enabled options */
#define HAVE_ENABLED "@ENABLED_FEATURES@"
/* defined if Eigen is available */
#cmakedefine HAVE_EIGEN
/* defined if ffmpeg is available */
#cmakedefine HAVE_FFMPEG
/* defined if FOX is available */
#cmakedefine HAVE_FOX
/* defined if libintl is available */
#cmakedefine HAVE_INTL
/* defined if GDAL is available */
#cmakedefine HAVE_GDAL
/* defined if GL2PS is available */
#cmakedefine HAVE_GL2PS
/* defined and set to version if JuPedSim is available */
#cmakedefine JPS_VERSION @JPS_VERSION@
/* defined if osg is available */
#cmakedefine HAVE_OSG
/* defined if zlib is available */
#cmakedefine HAVE_ZLIB
/* set to proj.h, proj_api.h or empty depending on which proj is available */
#cmakedefine PROJ_API_FILE "@PROJ_API_FILE@"
/* defined if python is available */
#cmakedefine HAVE_PYTHON
/* Define if auto-generated version.h should be used. */
#define HAVE_VERSION_H
#ifndef HAVE_VERSION_H
/* Define if auto-generated version.h is unavailable. */
#define VERSION_STRING "1.18.0"
#endif
/* defines the epsilon to use on general floating point comparison */
#define NUMERICAL_EPS 0.001
/* defines the epsilon to use on position comparison */
#define POSITION_EPS 0.1
/* defines the epsilon to use on input speed comparison, considering default
* output precision */
#define SPEED_EPS 0.01
/* Define length for Xerces 3. */
#define XERCES3_SIZE_t XMLSize_t