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

3
4
5
macro(add_fcl_test test_name)
  add_executable(${ARGV})
  target_link_libraries(${test_name}
6
    hpp-fcl
7
8
    ${Boost_LIBRARIES}
    )
9
10
11
  add_test(${test_name} ${EXECUTABLE_OUTPUT_PATH}/${test_name})
endmacro(add_fcl_test)

12
13
include_directories(${CMAKE_CURRENT_BINARY_DIR})
include_directories(${Boost_INCLUDE_DIRS})
14
15
16
17


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)
18
19
add_fcl_test(test_fcl_distance_lower_bound test_fcl_distance_lower_bound.cpp
  test_fcl_utility.cpp)
20
add_fcl_test(test_fcl_geometric_shapes test_fcl_geometric_shapes.cpp test_fcl_utility.cpp)
21
22
#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)
23
add_fcl_test(test_fcl_frontlist test_fcl_frontlist.cpp test_fcl_utility.cpp)
24
#add_fcl_test(test_fcl_math test_fcl_math.cpp test_fcl_utility.cpp)
25

26
add_fcl_test(test_fcl_sphere_capsule test_fcl_sphere_capsule.cpp)
27
add_fcl_test(test_fcl_capsule_capsule test_fcl_capsule_capsule.cpp)
28
add_fcl_test(test_fcl_box_box_distance test_fcl_box_box_distance.cpp)
29
add_fcl_test(test_fcl_simple test_fcl_simple.cpp)
30
31
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)
32
33
add_fcl_test(test_fcl_obb test_fcl_obb.cpp)

34
#add_fcl_test(test_fcl_global_penetration test_fcl_global_penetration.cpp libsvm/svm.cpp test_fcl_utility.cpp)
35
add_fcl_test(test_fcl_bvh_models test_fcl_bvh_models.cpp test_fcl_utility.cpp)
36

37
38
39
if (FCL_HAVE_OCTOMAP)
  add_fcl_test(test_fcl_octomap test_fcl_octomap.cpp test_fcl_utility.cpp)
endif()
panjia1983's avatar
panjia1983 committed
40