Added version information to config.h
parent
f24496b8a0
commit
5ead55c8b2
|
@ -17,6 +17,13 @@
|
|||
|
||||
#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"
|
||||
|
@ -30,4 +37,4 @@
|
|||
// 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
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue