forked from PDAL/PDAL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pdal_defines.h.in
99 lines (82 loc) · 2.16 KB
/
pdal_defines.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
/*
* pdal_defines.h.in is used by cmake to generate pdal_defines.h
*
* Do not edit pdal_defines.h!
*
* Note this is a C-style header. Do not use C++ syntax.
*/
#ifndef PDAL_DEFINES_H
#define PDAL_DEFINES_H
/*
* version settings
*/
#define PDAL_VERSION_MAJOR @PDAL_VERSION_MAJOR@
#define PDAL_VERSION_MINOR @PDAL_VERSION_MINOR@
#define PDAL_VERSION_PATCH @PDAL_VERSION_PATCH@
#define PDAL_VERSION_STRING "@PDAL_VERSION_STRING@"
#define PDAL_PLUGIN_VERSION 1
/* (note this will look yucky until we get to major>=1) */
#define PDAL_VERSION_INTEGER ((PDAL_VERSION_MAJOR*100*100)+(PDAL_VERSION_MINOR*100)+PDAL_VERSION_PATCH)
/*
* availability of 3rd-party libraries
*/
#cmakedefine PDAL_HAVE_CARIS
#cmakedefine PDAL_HAVE_GEOS
#cmakedefine PDAL_HAVE_GDAL
#cmakedefine PDAL_HAVE_HEXER
#cmakedefine PDAL_HAVE_LASZIP
#cmakedefine PDAL_HAVE_LIBXML2
#cmakedefine PDAL_HAVE_LIBGEOTIFF
#cmakedefine PDAL_HAVE_MRSID
#cmakedefine PDAL_HAVE_MSGPACK
#cmakedefine PDAL_HAVE_NITRO
#cmakedefine PDAL_HAVE_ORACLE
#cmakedefine PDAL_HAVE_P2G
#cmakedefine PDAL_HAVE_PCL
#cmakedefine PDAL_HAVE_PYTHON
#cmakedefine PDAL_HAVE_SOCI
#cmakedefine PDAL_HAVE_SQLITE
#cmakedefine PDAL_HAVE_POSTGRESQL
/*
* plugins
*/
#cmakedefine USE_PDAL_PLUGIN_PCD
#cmakedefine USE_PDAL_PLUGIN_TEXT
#cmakedefine USE_PDAL_PLUGIN_SQLITE
#cmakedefine USE_PDAL_PLUGIN_OCI
#cmakedefine USE_PDAL_PLUGIN_MRSID
#cmakedefine USE_PDAL_PLUGIN_CARIS
#cmakedefine USE_PDAL_PLUGIN_PGPOINTCLOUD
/*
* platform endianness
*/
#cmakedefine PDAL_ENDIAN_AWARE
/*
* Debug or Release build?
*/
#define PDAL_BUILD_TYPE "@PDAL_BUILD_TYPE@"
/*
* platform OS
*/
#cmakedefine PDAL_PLATFORM_WIN32
/*
* platform compiler
*/
#cmakedefine PDAL_COMPILER_MSVC
/*
* Use the embedded boost tree instead of system one
*/
#cmakedefine PDAL_EMBED_BOOST
#cmakedefine PDAL_COMPILER_VC10
#cmakedefine PDAL_COMPILER_VC9
#cmakedefine PDAL_COMPILER_VC8
#cmakedefine PDAL_COMPILER_GCC
#cmakedefine PDAL_COMPILER_CLANG
/*
* We have two modes: with GDAL and geotiff, SRS is enabled -- otherwise, it's disabled
* we use one macro to simplify the control
*/
#if defined(PDAL_HAVE_GDAL) && defined(PDAL_HAVE_LIBGEOTIFF)
#define PDAL_SRS_ENABLED
#endif
#endif