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)