gtsam/timing/CMakeLists.txt

20 lines
570 B
CMake
Raw Permalink Normal View History

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()
gtsamAddTimingGlob("*.cpp" "${excluded_scripts}" "gtsam" ${GTSAM_BUILD_TIMING_ALWAYS})
target_link_libraries(timeGaussianFactorGraph CppUnitLite)