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

3
4
5
6
macro(add_fcl_test test_name)
  add_executable(${ARGV})
  target_link_libraries(${test_name}
    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
18


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

24
add_fcl_test(test_fcl_sphere_capsule test_fcl_sphere_capsule.cpp)
25
add_fcl_test(test_fcl_capsule_capsule test_fcl_capsule_capsule.cpp)
26
add_fcl_test(test_fcl_box_box_distance test_fcl_box_box_distance.cpp)
27
add_fcl_test(test_fcl_simple test_fcl_simple.cpp)
28
29
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)
30
#add_fcl_test(test_fcl_global_penetration test_fcl_global_penetration.cpp libsvm/svm.cpp test_fcl_utility.cpp)
31
add_fcl_test(test_fcl_bvh_models test_fcl_bvh_models.cpp test_fcl_utility.cpp)
32

33
34
35
if (FCL_HAVE_OCTOMAP)
  add_fcl_test(test_fcl_octomap test_fcl_octomap.cpp test_fcl_utility.cpp)
endif()
panjia1983's avatar
panjia1983 committed
36