Exclude more files

release/4.3a0
Frank Dellaert 2023-02-05 20:45:21 -08:00
parent ec5a6003c6
commit bd3b5be0a0
2 changed files with 18 additions and 4 deletions

View File

@ -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()

View File

@ -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)