-
Notifications
You must be signed in to change notification settings - Fork 19
/
CMakeLists.txt
44 lines (38 loc) · 1.05 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
cmake_minimum_required(VERSION 3.0.2)
project(rqt_joint_trajectory_plot)
find_package(catkin REQUIRED)
catkin_package()
catkin_python_setup()
install(
FILES plugin.xml
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
install(
DIRECTORY resource
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
FILES_MATCHING
PATTERN "*.ui"
)
install(
PROGRAMS script/joint_trajectory_generator.py script/rqt_joint_trajectory_plot
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
install(
DIRECTORY launch
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
FILES_MATCHING
PATTERN "*.launch"
)
if(CATKIN_ENABLE_TESTING)
find_package(roslint REQUIRED)
set(ROSLINT_PYTHON_OPTS "--max-line-length=180")
roslint_python(src/rqt_joint_trajectory_plot/plot_widget.py)
add_dependencies(tests roslint)
find_package(roslaunch REQUIRED)
find_package(rostest REQUIRED)
file(GLOB LAUNCH_FILES launch/*.launch)
foreach(LAUNCH_FILE ${LAUNCH_FILES})
message(STATUS "Testing ${LAUNCH_FILE}")
roslaunch_add_file_check(${LAUNCH_FILE})
endforeach()
endif()