2012-06-15 04:00:51 +08:00
|
|
|
# Install headers
|
2013-06-20 01:50:09 +08:00
|
|
|
set (slam_excluded_headers #"")
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/serialization.h"
|
|
|
|
)
|
|
|
|
|
2012-06-15 04:00:51 +08:00
|
|
|
file(GLOB slam_headers "*.h")
|
2013-06-20 01:50:09 +08:00
|
|
|
list(REMOVE_ITEM slam_headers ${slam_excluded_headers})
|
2012-06-15 04:00:51 +08:00
|
|
|
install(FILES ${slam_headers} DESTINATION include/gtsam_unstable/slam)
|
|
|
|
|
|
|
|
# Components to link tests in this subfolder against
|
|
|
|
set(slam_local_libs
|
2012-08-20 22:25:04 +08:00
|
|
|
slam_unstable
|
2012-06-15 04:00:51 +08:00
|
|
|
slam
|
|
|
|
nonlinear
|
|
|
|
linear
|
|
|
|
inference
|
|
|
|
geometry
|
|
|
|
base
|
|
|
|
ccolamd
|
|
|
|
)
|
|
|
|
|
|
|
|
set (slam_full_libs
|
2013-03-14 02:17:39 +08:00
|
|
|
${gtsam-default}
|
|
|
|
${gtsam_unstable-default})
|
2012-06-15 04:00:51 +08:00
|
|
|
|
|
|
|
# Exclude tests that don't work
|
2013-06-20 01:50:09 +08:00
|
|
|
set (slam_excluded_tests
|
2013-08-12 02:41:08 +08:00
|
|
|
# "${CMAKE_CURRENT_SOURCE_DIR}/tests/testSerialization.cpp"
|
2013-06-20 01:50:09 +08:00
|
|
|
# "" # Add to this list, with full path, to exclude
|
|
|
|
)
|
2012-06-15 04:00:51 +08:00
|
|
|
# Add all tests
|
|
|
|
gtsam_add_subdir_tests(slam_unstable "${slam_local_libs}" "${slam_full_libs}" "${slam_excluded_tests}")
|
|
|
|
add_dependencies(check.unstable check.slam_unstable)
|