20 lines
570 B
CMake
20 lines
570 B
CMake
# 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()
|
|
|
|
# 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" ${GTSAM_BUILD_TIMING_ALWAYS})
|
|
|
|
target_link_libraries(timeGaussianFactorGraph CppUnitLite)
|