10 lines
319 B
CMake
10 lines
319 B
CMake
# if GTSAM_ENABLE_BOOST_SERIALIZATION is OFF then exclude some tests
|
|
if (NOT GTSAM_ENABLE_BOOST_SERIALIZATION)
|
|
# create a semicolon seperated list of files to exclude
|
|
set(EXCLUDE_TESTS "testSerializationSam.cpp")
|
|
else()
|
|
set(EXCLUDE_TESTS "")
|
|
endif()
|
|
|
|
gtsamAddTestsGlob(sam "test*.cpp" "${EXCLUDE_TESTS}" "gtsam")
|