41 lines
1.6 KiB
C
41 lines
1.6 KiB
C
/* ----------------------------------------------------------------------------
|
|
|
|
* 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
|
|
|
|
// Library version
|
|
#define GTSAM_VERSION_MAJOR @GTSAM_VERSION_MAJOR@
|
|
#define GTSAM_VERSION_MINOR @GTSAM_VERSION_MINOR@
|
|
#define GTSAM_VERSION_PATCH @GTSAM_VERSION_PATCH@
|
|
#define GTSAM_VERSION_STRING "@GTSAM_VERSION_MAJOR@.@GTSAM_VERSION_MINOR@.@GTSAM_VERSION_PATCH@"
|
|
#define GTSAM_VERSION_NUMERIC (10000 * @GTSAM_VERSION_MAJOR@ + 100 * @GTSAM_VERSION_MINOR@ + @GTSAM_VERSION_PATCH@)
|
|
|
|
// Paths to example datasets distributed with GTSAM
|
|
#define GTSAM_SOURCE_TREE_DATASET_DIR "@CMAKE_SOURCE_DIR@/examples/Data"
|
|
#define GTSAM_INSTALLED_DATASET_DIR "@GTSAM_TOOLBOX_INSTALL_PATH@/gtsam_examples/Data"
|
|
|
|
// Whether GTSAM is compiled to use quaternions for Rot3 (otherwise uses rotation matrices)
|
|
#cmakedefine GTSAM_USE_QUATERNIONS
|
|
|
|
// 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)
|
|
#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
|
|
#endif
|