CMakeLists.txt 1.94 KB
Newer Older
1
2
config_files(fcl_resources/config.h)

Joseph Mirabel's avatar
Joseph Mirabel committed
3
4
5
6
7
8
9
10
macro(add_fcl_template_test test_name)
  add_executable(${ARGV})
  target_link_libraries(${test_name}
    ${Boost_LIBRARIES}
    )
  add_test(${test_name} ${EXECUTABLE_OUTPUT_PATH}/${test_name})
endmacro(add_fcl_template_test)

11
12
13
macro(add_fcl_test test_name)
  add_executable(${ARGV})
  target_link_libraries(${test_name}
14
    hpp-fcl
15
16
    ${Boost_LIBRARIES}
    )
17
18
19
  add_test(${test_name} ${EXECUTABLE_OUTPUT_PATH}/${test_name})
endmacro(add_fcl_test)

20
21
include_directories(${CMAKE_CURRENT_BINARY_DIR})
include_directories(${Boost_INCLUDE_DIRS})
22
23
24
25


add_fcl_test(test_fcl_collision test_fcl_collision.cpp test_fcl_utility.cpp)
add_fcl_test(test_fcl_distance test_fcl_distance.cpp test_fcl_utility.cpp)
26
27
add_fcl_test(test_fcl_distance_lower_bound test_fcl_distance_lower_bound.cpp
  test_fcl_utility.cpp)
28
#add_fcl_test(test_fcl_geometric_shapes test_fcl_geometric_shapes.cpp test_fcl_utility.cpp)
29
30
#add_fcl_test(test_fcl_broadphase test_fcl_broadphase.cpp test_fcl_utility.cpp)
#add_fcl_test(test_fcl_shape_mesh_consistency test_fcl_shape_mesh_consistency.cpp test_fcl_utility.cpp)
31
add_fcl_test(test_fcl_frontlist test_fcl_frontlist.cpp test_fcl_utility.cpp)
32
#add_fcl_test(test_fcl_math test_fcl_math.cpp test_fcl_utility.cpp)
33

34
#add_fcl_test(test_fcl_sphere_capsule test_fcl_sphere_capsule.cpp)
35
add_fcl_test(test_fcl_capsule_capsule test_fcl_capsule_capsule.cpp)
36
add_fcl_test(test_fcl_box_box_distance test_fcl_box_box_distance.cpp)
37
add_fcl_test(test_fcl_simple test_fcl_simple.cpp)
38
39
add_fcl_test(test_fcl_capsule_box_1 test_fcl_capsule_box_1.cpp)
add_fcl_test(test_fcl_capsule_box_2 test_fcl_capsule_box_2.cpp)
Florent Lamiraux's avatar
Florent Lamiraux committed
40
#add_fcl_test(test_fcl_obb test_fcl_obb.cpp)
41

42
#add_fcl_test(test_fcl_global_penetration test_fcl_global_penetration.cpp libsvm/svm.cpp test_fcl_utility.cpp)
43
add_fcl_test(test_fcl_bvh_models test_fcl_bvh_models.cpp test_fcl_utility.cpp)
44

45
46
47
if (FCL_HAVE_OCTOMAP)
  add_fcl_test(test_fcl_octomap test_fcl_octomap.cpp test_fcl_utility.cpp)
endif()
panjia1983's avatar
panjia1983 committed
48