gtsam/timing/CMakeLists.txt

23 lines
601 B
CMake
Raw Normal View History

2023-02-06 12:45:21 +08:00
set (excluded_scripts
elaboratePoint2KalmanFilter.cpp
)
2023-02-06 17:44:55 +08:00
# Add scripts to exclude if GTSAM_ENABLE_BOOST_SERIALIZATION is not set
if (NOT GTSAM_ENABLE_BOOST_SERIALIZATION)
# add to excluded scripts
list (APPEND excluded_scripts
"timeIncremental.cpp"
)
endif()
2023-02-06 12:45:21 +08:00
# 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
2023-02-06 17:44:55 +08:00
"timeISAM2Chain.cpp"
2023-02-06 12:45:21 +08:00
)
endif()
2023-02-06 17:44:55 +08:00
gtsamAddTimingGlob("*.cpp" "${excluded_scripts}" "gtsam")
target_link_libraries(timeGaussianFactorGraph CppUnitLite)