2013-04-25 23:57:15 +08:00
/* ----------------------------------------------------------------------------
* GTSAM Copyright 2010 , Georgia Tech Research Corporation ,
* Atlanta , Georgia 30332 - 0415
* All Rights Reserved
* Authors : Frank Dellaert , et al . ( see THANKS for the full author list )
* See LICENSE for the license information
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/**
* @ file config . h
* @ brief Settings and paths configured with CMake
* @ author Richard Roberts
*/
# pragma once
2013-08-20 01:53:09 +08:00
// Library version
# define GTSAM_VERSION_MAJOR @GTSAM_VERSION_MAJOR@
# define GTSAM_VERSION_MINOR @GTSAM_VERSION_MINOR@
# define GTSAM_VERSION_PATCH @GTSAM_VERSION_PATCH@
2013-08-21 00:53:43 +08:00
# define GTSAM_VERSION_NUMERIC @GTSAM_VERSION_NUMERIC@
# define GTSAM_VERSION_STRING "@GTSAM_VERSION_STRING@"
2013-08-20 01:53:09 +08:00
2013-04-25 23:57:15 +08:00
// Paths to example datasets distributed with GTSAM
2013-04-26 00:32:05 +08:00
# define GTSAM_SOURCE_TREE_DATASET_DIR "@CMAKE_SOURCE_DIR@ / examples / Data"
# define GTSAM_INSTALLED_DATASET_DIR "@GTSAM_TOOLBOX_INSTALL_PATH@ / gtsam_examples / Data"
2013-04-25 23:57:15 +08:00
// Whether GTSAM is compiled to use quaternions for Rot3 (otherwise uses rotation matrices)
# cmakedefine GTSAM_USE_QUATERNIONS
2013-05-01 01:17:51 +08:00
// Whether GTSAM is compiled to use Pose3::EXPMAP as the default coordinates mode for Pose3's retract and localCoordinates (otherwise, Pose3::FIRST_ORDER will be used)
2013-08-02 21:28:29 +08:00
# cmakedefine GTSAM_POSE3_EXPMAP
// Whether GTSAM is compiled to use Rot3::EXPMAP as the default coordinates mode for Rot3's retract and localCoordinates (otherwise, Pose3::CAYLEY will be used)
# ifndef GTSAM_USE_QUATERNIONS
# cmakedefine GTSAM_ROT3_EXPMAP
2013-08-17 04:26:07 +08:00
# endif
// Whether we are using TBB (if TBB was found and GTSAM_WITH_TBB is enabled in CMake)
# cmakedefine GTSAM_USE_TBB
2013-10-14 06:21:07 +08:00
2013-11-19 03:23:23 +08:00
// Whether Eigen will use MKL (if MKL was found and GTSAM_WITH_EIGEN_MKL is enabled in CMake)
# cmakedefine GTSAM_USE_EIGEN_MKL
# cmakedefine EIGEN_USE_MKL_ALL // This is also defined in gtsam_eigen_includes.h
// Whether Eigen with MKL will use OpenMP (if OpenMP was found, Eigen uses MKL, and GTSAM_WITH_EIGEN_MKL_OPENMP is enabled in CMake)
# cmakedefine GTSAM_USE_EIGEN_MKL_OPENMP
2013-10-14 06:21:07 +08:00
// The default allocator to use
# cmakedefine GTSAM_ALLOCATOR_BOOSTPOOL
# cmakedefine GTSAM_ALLOCATOR_TBB
# cmakedefine GTSAM_ALLOCATOR_STL
2013-10-24 08:08:53 +08:00
// Option for not throwing the CheiralityException for points that are behind a camera
# cmakedefine GTSAM_THROW_CHEIRALITY_EXCEPTION