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_full_libs
|
2014-01-31 03:41:25 +08:00
|
|
|
gtsam
|
|
|
|
gtsam_unstable)
|
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-16 12:11:02 +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
|
2013-08-19 23:32:21 +08:00
|
|
|
gtsam_add_subdir_tests(slam_unstable "${slam_full_libs}" "${slam_full_libs}" "${slam_excluded_tests}")
|
2012-06-15 04:00:51 +08:00
|
|
|
add_dependencies(check.unstable check.slam_unstable)
|