1#ifndef G2O_CONFIG_H 2#define G2O_CONFIG_H 3 4 5#cmakedefine G2O_HAVE_OPENGL 1 6#cmakedefine G2O_OPENGL_FOUND 1 7#cmakedefine G2O_OPENMP 1 8#cmakedefine G2O_SHARED_LIBS 1 9#cmakedefine G2O_LGPL_SHARED_LIBS 1 10 11// available sparse matrix libraries 12#cmakedefine G2O_HAVE_CHOLMOD 1 13#cmakedefine G2O_HAVE_CSPARSE 1 14 15#cmakedefine G2O_NO_IMPLICIT_OWNERSHIP_OF_OBJECTS 16 17#ifdef G2O_NO_IMPLICIT_OWNERSHIP_OF_OBJECTS 18#define G2O_DELETE_IMPLICITLY_OWNED_OBJECTS 0 19#else 20#define G2O_DELETE_IMPLICITLY_OWNED_OBJECTS 1 21#endif 22 23#cmakedefine G2O_SINGLE_PRECISION_MATH 24#ifdef G2O_SINGLE_PRECISION_MATH 25 #define G2O_NUMBER_FORMAT_STR "%g" 26 27 #ifdef __cplusplus 28 using number_t = float; 29 #else 30 typedef float number_t; 31 #endif 32#else 33 #define G2O_NUMBER_FORMAT_STR "%lg" 34 35 #ifdef __cplusplus 36 using number_t = double; 37 #else 38 typedef double number_t; 39 #endif 40#endif 41 42#cmakedefine G2O_CXX_COMPILER "@G2O_CXX_COMPILER@" 43 44#ifdef __cplusplus 45#include <g2o/core/eigen_types.h> 46#endif 47 48#endif 49