36 lines
1.1 KiB
CMake
36 lines
1.1 KiB
CMake
# 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_local_libs
|
|
nonlinear_unstable
|
|
nonlinear
|
|
linear
|
|
linear_unstable
|
|
inference
|
|
geometry
|
|
base
|
|
ccolamd
|
|
)
|
|
|
|
set (nonlinear_full_libs
|
|
${gtsam-default}
|
|
${gtsam_unstable-default})
|
|
|
|
# Exclude tests that don't work
|
|
set (nonlinear_excluded_tests #"")
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/tests/testBatchFixedLagSmoother.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/tests/testConcurrentBatchFilter.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/tests/testConcurrentBatchSmoother.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/tests/testConcurrentIncrementalFilter.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/tests/testConcurrentIncrementalSmootherDL.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/tests/testConcurrentIncrementalSmootherGN.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/tests/testIncrementalFixedLagSmoother.cpp"
|
|
)
|
|
|
|
|
|
# Add all tests
|
|
gtsam_add_subdir_tests(nonlinear_unstable "${nonlinear_local_libs}" "${nonlinear_full_libs}" "${nonlinear_excluded_tests}")
|
|
add_dependencies(check.unstable check.nonlinear_unstable)
|