1/* config.hpp. Generated by CMake for @PROJECT_NAME@. */
2#ifndef DART_CONFIG_HPP_
3#define DART_CONFIG_HPP_
4
5#include <Eigen/Core>
6
7/* Version number */
8#define DART_MAJOR_VERSION @DART_MAJOR_VERSION@
9#define DART_MINOR_VERSION @DART_MINOR_VERSION@
10#define DART_PATCH_VERSION @DART_PATCH_VERSION@
11
12#define DART_VERSION "@DART_VERSION@"
13#define DART_DESCRIPTION "@DART_PKG_DESC@"
14
15#define DART_VERSION_AT_LEAST(x,y,z) \
16  (DART_MAJOR_VERSION > x || (DART_MAJOR_VERSION >= x && \
17  (DART_MINOR_VERSION > y || (DART_MINOR_VERSION >= y && \
18  DART_PATCH_VERSION >= z))))
19
20#define DART_MAJOR_MINOR_VERSION_AT_LEAST(x,y) \
21  (DART_MAJOR_VERSION > x || (DART_MAJOR_VERSION >= x && \
22  (DART_MINOR_VERSION > y || (DART_MINOR_VERSION >= y))))
23
24#define DART_VERSION_AT_MOST(x,y,z) \
25  (DART_MAJOR_VERSION < x || (DART_MAJOR_VERSION <= x && \
26  (DART_MINOR_VERSION < y || (DART_MINOR_VERSION <= y && \
27  DART_PATCH_VERSION <= z))))
28
29#define DART_MAJOR_MINOR_VERSION_AT_MOST(x,y) \
30  (DART_MAJOR_VERSION < x || (DART_MAJOR_VERSION <= x && \
31  (DART_MINOR_VERSION < y || (DART_MINOR_VERSION <= y))))
32
33#define EIGEN_VERSION_AT_MOST(x,y,z) \
34  (EIGEN_WORLD_VERSION < x || (EIGEN_WORLD_VERSION <= x && \
35  (EIGEN_MAJOR_VERSION < y || (EIGEN_MAJOR_VERSION <= y && \
36  EIGEN_MINOR_VERSION <= z))))
37
38// Detect the compiler
39#if defined(__clang__)
40  #define DART_COMPILER_CLANG
41#elif defined(__GNUC__) || defined(__GNUG__)
42  #define DART_COMPILER_GCC
43#elif defined(_MSC_VER)
44  #define DART_COMPILER_MSVC
45#endif
46
47#cmakedefine01 BUILD_TYPE_DEBUG
48#cmakedefine01 BUILD_TYPE_RELEASE
49#cmakedefine01 BUILD_TYPE_RELWITHDEBINFO
50#cmakedefine01 BUILD_TYPE_MINSIZEREL
51
52#cmakedefine01 HAVE_NLOPT
53#cmakedefine01 HAVE_IPOPT
54#cmakedefine01 HAVE_PAGMO
55#cmakedefine01 HAVE_SNOPT
56#cmakedefine01 HAVE_BULLET
57#cmakedefine01 HAVE_ODE
58#cmakedefine01 HAVE_FLANN
59#cmakedefine01 HAVE_OCTOMAP
60
61#cmakedefine01 DART_ENABLE_SIMD
62
63// Deprecated in DART 6.2 and will be removed in DART 7.
64#define DART_ROOT_PATH "@CMAKE_SOURCE_DIR@/"
65#define DART_DATA_PATH "@CMAKE_SOURCE_DIR@/data/"
66
67#define DART_DATA_LOCAL_PATH "@CMAKE_SOURCE_DIR@/data/"
68#define DART_DATA_GLOBAL_PATH "@CMAKE_INSTALL_PREFIX@/@DART_ADDITIONAL_DOCUMENTATION_INSTALL_PATH@/data/"
69
70// See #451
71#cmakedefine01 ASSIMP_AISCENE_CTOR_DTOR_DEFINED
72#cmakedefine01 ASSIMP_AIMATERIAL_CTOR_DTOR_DEFINED
73
74// Workaround for the fact that Bullet does not add the definition to
75// BULLET_DEFINITIONS or generate a #cmakedefine header.
76#cmakedefine BT_USE_DOUBLE_PRECISION
77
78#endif // #ifndef DART_CONFIG_HPP_
79