-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
45 lines (38 loc) · 967 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
cmake_minimum_required(VERSION 2.8.3)
project(oro_barrett_sim)
find_package(catkin REQUIRED
cmake_modules
control_toolbox
urdf
kdl_parser
rtt_ros
rtt_ros_tools
angles
)
find_package(Eigen REQUIRED)
find_package(orocos_kdl REQUIRED)
find_package(Gazebo REQUIRED)
include_directories(include
${GAZEBO_INCLUDE_DIRS}
${Eigen_INCLUDE_DIRS}
${catkin_INCLUDE_DIRS}
${orocos_kdl_INCLUDE_DIRS}
${USE_OROCOS_INCLUDE_DIRS})
add_definitions(
${Eigen_DEFINITIONS})
orocos_component(barrett_sim_manager
src/barrett_sim_manager.cpp
src/hand_sim_device.cpp)
#message(STATUS "--- ${USE_OROCOS_LIBRARIES}")
target_link_libraries(barrett_sim_manager
${GAZEBO_LIBRARIES}
${kdl_parser_LIBRARIES}
${urdf_LIBRARIES}
${orocos_kdl_LIBRARIES})
if(CATKIN_ENABLE_TESTING)
orocos_use_package(ocl-deployment)
orocos_use_package(ocl-taskbrowser)
endif()
orocos_generate_package(
INCLUDE_DIRS include
DEPENDS_TARGETS oro_barrett_interface)