Skip to content

Commit

Permalink
make a cmake flag
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Dec 31, 2024
1 parent 4d96af7 commit 02d461e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions cmake/HandleGeneralOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ option(GTSAM_POSE3_EXPMAP "Enable/Disable using Pose3::EXPMAP
option(GTSAM_ROT3_EXPMAP "Ignore if GTSAM_USE_QUATERNIONS is OFF (Rot3::EXPMAP by default). Otherwise, enable Rot3::EXPMAP, or if disabled, use Rot3::CAYLEY." ON)
option(GTSAM_DT_MERGING "Enable/Disable merging of equal leaf nodes in DecisionTrees. This leads to significant speed up and memory savings." ON)
option(GTSAM_ENABLE_TIMING "Enable the timing tools (gttic/gttoc)" OFF)
option(GTSAM_HYBRID_TIMING "Enable the timing of hybrid factor graph machinery" OFF)
option(GTSAM_ENABLE_CONSISTENCY_CHECKS "Enable/Disable expensive consistency checks" OFF)
option(GTSAM_ENABLE_MEMORY_SANITIZER "Enable/Disable memory sanitizer" OFF)
option(GTSAM_WITH_TBB "Use Intel Threaded Building Blocks (TBB) if available" ON)
Expand Down
3 changes: 1 addition & 2 deletions gtsam/config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
#cmakedefine GTSAM_DT_MERGING

// Whether to enable timing in hybrid factor graph machinery
// #cmakedefine01 GTSAM_HYBRID_TIMING
#define GTSAM_HYBRID_TIMING 1
#cmakedefine01 GTSAM_HYBRID_TIMING

// Whether we are using TBB (if TBB was found and GTSAM_WITH_TBB is enabled in CMake)
#cmakedefine GTSAM_USE_TBB
Expand Down

0 comments on commit 02d461e

Please sign in to comment.