forked from RainerKuemmerle/g2o
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h.in
48 lines (37 loc) · 1009 Bytes
/
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
#ifndef G2O_CONFIG_H
#define G2O_CONFIG_H
#cmakedefine G2O_HAVE_OPENGL 1
#cmakedefine G2O_OPENGL_FOUND 1
#cmakedefine G2O_OPENMP 1
#cmakedefine G2O_SHARED_LIBS 1
#cmakedefine G2O_LGPL_SHARED_LIBS 1
// available sparse matrix libraries
#cmakedefine G2O_HAVE_CHOLMOD 1
#cmakedefine G2O_HAVE_CSPARSE 1
#cmakedefine G2O_NO_IMPLICIT_OWNERSHIP_OF_OBJECTS
#ifdef G2O_NO_IMPLICIT_OWNERSHIP_OF_OBJECTS
#define G2O_DELETE_IMPLICITLY_OWNED_OBJECTS 0
#else
#define G2O_DELETE_IMPLICITLY_OWNED_OBJECTS 1
#endif
#cmakedefine G2O_SINGLE_PRECISION_MATH
#ifdef G2O_SINGLE_PRECISION_MATH
#define G2O_NUMBER_FORMAT_STR "%g"
#ifdef __cplusplus
using number_t = float;
#else
typedef float number_t;
#endif
#else
#define G2O_NUMBER_FORMAT_STR "%lg"
#ifdef __cplusplus
using number_t = double;
#else
typedef double number_t;
#endif
#endif
#cmakedefine G2O_CXX_COMPILER "@G2O_CXX_COMPILER@"
#ifdef __cplusplus
#include <g2o/core/eigen_types.h>
#endif
#endif