2014-02-14 02:24:14 +08:00
|
|
|
set (excluded_examples
|
|
|
|
elaboratePoint2KalmanFilter.cpp
|
2013-08-17 01:13:45 +08:00
|
|
|
)
|
|
|
|
|
2023-01-24 07:56:33 +08:00
|
|
|
# if GTSAM_ENABLE_BOOST_SERIALIZATION is not set then SolverComparer.cpp will not compile
|
|
|
|
if (NOT GTSAM_ENABLE_BOOST_SERIALIZATION)
|
2023-01-24 03:19:04 +08:00
|
|
|
list (APPEND excluded_examples
|
2023-01-24 07:56:33 +08:00
|
|
|
SolverComparer.cpp
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2023-02-06 12:45:21 +08:00
|
|
|
# Add examples to exclude if GTSAM_USE_BOOST_FEATURES is not set
|
|
|
|
if (NOT GTSAM_USE_BOOST_FEATURES)
|
2023-01-24 03:19:04 +08:00
|
|
|
# add to excluded examples
|
|
|
|
list (APPEND excluded_examples
|
2023-02-06 12:45:21 +08:00
|
|
|
CombinedImuFactorsExample.run
|
|
|
|
ImuFactorsExample.run
|
|
|
|
ShonanAveragingCLI.cpp
|
2023-01-24 03:19:04 +08:00
|
|
|
SolverComparer.cpp
|
|
|
|
)
|
|
|
|
endif()
|
2023-01-24 07:16:14 +08:00
|
|
|
|
2022-11-08 07:31:15 +08:00
|
|
|
gtsamAddExamplesGlob("*.cpp" "${excluded_examples}" "gtsam;gtsam_unstable;${Boost_PROGRAM_OPTIONS_LIBRARY}")
|