From bd3b5be0a03ce7507f33bba5849a1f836eb78a0e Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Sun, 5 Feb 2023 20:45:21 -0800 Subject: [PATCH] Exclude more files --- examples/CMakeLists.txt | 8 +++++--- timing/CMakeLists.txt | 14 +++++++++++++- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 36eb690e8..05ffd002a 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -9,11 +9,13 @@ if (NOT GTSAM_ENABLE_BOOST_SERIALIZATION) ) endif() -# Add examples to exclude if GTSAM_USE_BOOST is not set -if (NOT GTSAM_USE_BOOST) +# Add examples to exclude if GTSAM_USE_BOOST_FEATURES is not set +if (NOT GTSAM_USE_BOOST_FEATURES) # add to excluded examples list (APPEND excluded_examples - # Boost examples + CombinedImuFactorsExample.run + ImuFactorsExample.run + ShonanAveragingCLI.cpp SolverComparer.cpp ) endif() diff --git a/timing/CMakeLists.txt b/timing/CMakeLists.txt index fc16d3ac8..cd486ab79 100644 --- a/timing/CMakeLists.txt +++ b/timing/CMakeLists.txt @@ -1,3 +1,15 @@ -gtsamAddTimingGlob("*.cpp" "" "gtsam") +set (excluded_scripts + elaboratePoint2KalmanFilter.cpp +) +# Add scripts to exclude if GTSAM_USE_BOOST_FEATURES is not set +if (NOT GTSAM_USE_BOOST_FEATURES) + # add to excluded scripts + list (APPEND excluded_scripts + timeISAM2Chain.cpp + ) +endif() + + +gtsamAddTimingGlob("*.cpp" excluded_scripts "gtsam") target_link_libraries(timeGaussianFactorGraph CppUnitLite)