This repository has been archived by the owner on Nov 13, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 117
/
Copy pathCMakeLists.txt
90 lines (76 loc) · 2.48 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
cmake_minimum_required(VERSION 2.8.3)
project(moveit_ros_visualization)
if(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif()
find_package(Boost REQUIRED thread date_time system filesystem)
find_package(PkgConfig REQUIRED)
# Ogre
pkg_check_modules(OGRE OGRE)
link_directories( ${OGRE_LIBRARY_DIRS} )
# Qt Stuff
find_package(Qt4 REQUIRED)
include(${QT_USE_FILE})
add_definitions(-DQT_NO_KEYWORDS)
find_package(catkin REQUIRED COMPONENTS
moveit_ros_planning_interface
moveit_ros_robot_interaction
moveit_ros_warehouse
moveit_ros_perception
cmake_modules
eigen_conversions
geometric_shapes
interactive_markers
class_loader
rviz
tf
roscpp
rosconsole
object_recognition_msgs
rostest
)
find_package(Eigen REQUIRED)
catkin_python_setup()
catkin_package(
LIBRARIES
moveit_rviz_plugin_render_tools
moveit_robot_state_rviz_plugin_core
moveit_motion_planning_rviz_plugin_core
moveit_trajectory_rviz_plugin_core
moveit_planning_scene_rviz_plugin_core
INCLUDE_DIRS
rviz_plugin_render_tools/include
robot_state_rviz_plugin/include
planning_scene_rviz_plugin/include
motion_planning_rviz_plugin/include
trajectory_rviz_plugin/include
CATKIN_DEPENDS
moveit_ros_planning_interface
moveit_ros_robot_interaction
)
include_directories(rviz_plugin_render_tools/include
robot_state_rviz_plugin/include
planning_scene_rviz_plugin/include
motion_planning_rviz_plugin/include
trajectory_rviz_plugin/include
${catkin_INCLUDE_DIRS})
include_directories(SYSTEM
${Boost_INCLUDE_DIRS}
${QT_INCLUDE_DIR}
${OGRE_INCLUDE_DIRS})
link_directories(${Boost_LIBRARY_DIRS})
link_directories(${catkin_LIBRARY_DIRS})
add_subdirectory(rviz_plugin_render_tools)
add_subdirectory(robot_state_rviz_plugin)
add_subdirectory(planning_scene_rviz_plugin)
add_subdirectory(motion_planning_rviz_plugin)
add_subdirectory(trajectory_rviz_plugin)
install(FILES
motion_planning_rviz_plugin_description.xml
trajectory_rviz_plugin_description.xml
planning_scene_rviz_plugin_description.xml
robot_state_rviz_plugin_description.xml
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
install(PROGRAMS python/moveit_ros_visualization/moveit_joy.py DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
install(DIRECTORY icons DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
add_rostest(test/moveit_joy.test)