forked from artivis/manif
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
47 lines (32 loc) · 901 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Ceres tests
manif_add_gtest(gtest_rn_ceres gtest_rn_ceres.cpp)
manif_add_gtest(gtest_so2_ceres gtest_so2_ceres.cpp)
manif_add_gtest(gtest_se2_autodiff gtest_se2_autodiff.cpp)
manif_add_gtest(gtest_se2_ceres gtest_se2_ceres.cpp)
manif_add_gtest(gtest_so3_ceres gtest_so3_ceres.cpp)
manif_add_gtest(gtest_se3_ceres gtest_se3_ceres.cpp)
manif_add_gtest(gtest_se23_ceres gtest_se23_ceres.cpp)
set(CXX_11_TEST_TARGETS_CERES
# Rn
gtest_rn_ceres
# SO2
gtest_so2_ceres
# SO3
gtest_so3_ceres
# SE2
gtest_se2_autodiff
gtest_se2_ceres
# SE3
gtest_se3_ceres
# SE23
gtest_se23_ceres
)
foreach(target ${CXX_11_TEST_TARGETS_CERES})
target_link_libraries(${target} ${CERES_LIBRARIES})
target_include_directories(${target} SYSTEM PRIVATE ${CERES_INCLUDE_DIRS})
endforeach()
set(CXX_11_TEST_TARGETS
${CXX_11_TEST_TARGETS}
${CXX_11_TEST_TARGETS_CERES}
PARENT_SCOPE
)