forked from PointCloudLibrary/pcl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pcl_config.h.in
91 lines (68 loc) · 2.58 KB
/
pcl_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
/* pcl_config.h. Generated by CMake for @PROJECT_NAME@. */
// Ensure the compiler is meeting the minimum C++ standard
// MSVC is not checked via __cplusplus due to
// https://developercommunity.visualstudio.com/content/problem/120156/-cplusplus-macro-still-defined-as-pre-c11-value.html
#if (!defined(_MSC_VER) && __cplusplus < 201402L) || (defined(_MSC_VER) && _MSC_VER < 1900)
#error PCL requires C++14 or above
#endif
#define BUILD_@CMAKE_BUILD_TYPE@
/* PCL version information */
#define PCL_MAJOR_VERSION ${PCL_VERSION_MAJOR}
#define PCL_MINOR_VERSION ${PCL_VERSION_MINOR}
#define PCL_REVISION_VERSION ${PCL_VERSION_PATCH}
#define PCL_DEV_VERSION ${PCL_DEV_VERSION}
#define PCL_VERSION_PRETTY "${PCL_VERSION_PRETTY}"
#define PCL_VERSION_CALC(MAJ, MIN, PATCH) (MAJ*100000+MIN*100+PATCH)
#define PCL_VERSION \
PCL_VERSION_CALC(PCL_MAJOR_VERSION, PCL_MINOR_VERSION, PCL_REVISION_VERSION)
#define PCL_VERSION_COMPARE(OP, MAJ, MIN, PATCH) \
(PCL_VERSION*10+PCL_DEV_VERSION OP PCL_VERSION_CALC(MAJ, MIN, PATCH)*10)
/* Index type and signed/unsigned property */
#define PCL_INDEX_SIGNED ${PCL_INDEX_SIGNED_STR}
#if (${PCL_INDEX_SIZE} > 0)
#define PCL_INDEX_SIZE ${PCL_INDEX_SIZE}
#else
#if PCL_MINOR_VERSION <= 11
// sizeof returns bytes, while we measure size by bits in the template
#define PCL_INDEX_SIZE (sizeof(int) * 8)
#else
#define PCL_INDEX_SIZE 32
#endif //PCL_MINOR_VERSION
#endif
#cmakedefine HAVE_OPENNI 1
#cmakedefine HAVE_OPENNI2 1
#cmakedefine HAVE_QHULL 1
#cmakedefine HAVE_CUDA 1
#cmakedefine HAVE_ENSENSO 1
#cmakedefine HAVE_DAVIDSDK 1
// SSE macros
#cmakedefine HAVE_POSIX_MEMALIGN
#cmakedefine HAVE_MM_MALLOC
#cmakedefine HAVE_PNG
#cmakedefine HAVE_ZLIB
/* Precompile for a minimal set of point types instead of all. */
#cmakedefine PCL_ONLY_CORE_POINT_TYPES
/* Do not precompile for any point types at all. */
#cmakedefine PCL_NO_PRECOMPILE
#ifdef DISABLE_OPENNI
#undef HAVE_OPENNI
#endif
#ifdef DISABLE_OPENNI2
#undef HAVE_OPENNI2
#endif
#ifdef DISABLE_QHULL
#undef HAVE_QHULL
#endif
/* Verbosity level defined by user through ccmake. */
#cmakedefine VERBOSITY_LEVEL_ALWAYS
#cmakedefine VERBOSITY_LEVEL_ERROR
#cmakedefine VERBOSITY_LEVEL_WARN
#cmakedefine VERBOSITY_LEVEL_INFO
#cmakedefine VERBOSITY_LEVEL_DEBUG
#cmakedefine VERBOSITY_LEVEL_VERBOSE
/* Address the cases where on MacOS and OpenGL and GLUT are not frameworks */
#cmakedefine OPENGL_IS_A_FRAMEWORK
#cmakedefine GLUT_IS_A_FRAMEWORK
/* Version of OpenGL used by VTK as rendering backend */
#define VTK_RENDERING_BACKEND_OPENGL_VERSION ${VTK_RENDERING_BACKEND_OPENGL_VERSION}
#cmakedefine HAVE_QVTK 1