-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
63 lines (54 loc) · 1.22 KB
/
CMakeLists.txt
File metadata and controls
63 lines (54 loc) · 1.22 KB
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
cmake_minimum_required(VERSION 2.8.3)
project(pyros_test)
# Minimal Python module setup
find_package(catkin REQUIRED COMPONENTS
roslint
rospy
std_msgs
message_generation
)
catkin_python_setup()
add_message_files(
DIRECTORY
msg
FILES
opt_empty.msg
opt_bool.msg
opt_int8.msg
opt_int16.msg
opt_int32.msg
opt_int64.msg
opt_uint8.msg
opt_uint16.msg
opt_uint32.msg
opt_uint64.msg
opt_float32.msg
opt_float64.msg
opt_string.msg
opt_time.msg
opt_duration.msg
opt_header.msg
)
add_service_files(DIRECTORY srv
FILES
StringEchoService.srv
)
generate_messages(DEPENDENCIES std_msgs)
catkin_package( CATKIN_DEPENDS message_runtime std_msgs)
install(
PROGRAMS
nodes/echo.py
nodes/emptyService.py
nodes/slowService.py
nodes/triggerService.py
nodes/common.py
nodes/string_pub_node.py
nodes/string_pubnot_node.py
nodes/string_slow_node.py
nodes/string_sub_node.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
# Lint Python modules
file(GLOB_RECURSE ${PROJECT_NAME}_PY_SRCS
RELATIVE ${PROJECT_SOURCE_DIR} src/pyros_test/*.py)
roslint_python(${${PROJECT_NAME}_PY_SRCS})