2012-06-08 02:16:37 +08:00
|
|
|
# Install headers
|
|
|
|
file(GLOB nonlinear_headers "*.h")
|
|
|
|
install(FILES ${nonlinear_headers} DESTINATION include/gtsam_unstable/nonlinear)
|
|
|
|
|
|
|
|
# Components to link tests in this subfolder against
|
|
|
|
set (nonlinear_full_libs
|
2013-08-12 02:40:39 +08:00
|
|
|
${gtsam-default}
|
|
|
|
${gtsam_unstable-default})
|
2012-06-08 02:16:37 +08:00
|
|
|
|
|
|
|
# Exclude tests that don't work
|
2013-08-09 04:08:52 +08:00
|
|
|
set (nonlinear_excluded_tests #"")
|
2013-08-20 05:33:13 +08:00
|
|
|
#"${CMAKE_CURRENT_SOURCE_DIR}/tests/testConcurrentIncrementalFilter.cpp"
|
2013-08-19 23:32:08 +08:00
|
|
|
#"${CMAKE_CURRENT_SOURCE_DIR}/tests/testIncrementalFixedLagSmoother.cpp"
|
2013-08-09 04:08:52 +08:00
|
|
|
)
|
|
|
|
|
2012-06-08 02:16:37 +08:00
|
|
|
|
|
|
|
# Add all tests
|
2013-08-19 23:32:21 +08:00
|
|
|
gtsam_add_subdir_tests(nonlinear_unstable "${nonlinear_full_libs}" "${nonlinear_full_libs}" "${nonlinear_excluded_tests}")
|
2012-06-08 02:16:37 +08:00
|
|
|
add_dependencies(check.unstable check.nonlinear_unstable)
|