forked from teknologisk-institut/pattern_manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
80 lines (71 loc) · 1.5 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
cmake_minimum_required(VERSION 3.0.2)
project(pattern_manager)
find_package(catkin REQUIRED COMPONENTS
rospy
std_msgs
tf
rostest
geometry_msgs
message_generation
visualization_msgs
)
catkin_python_setup()
add_message_files(
FILES
Params.msg
Point.msg
CreationParams.msg
NameAndId.msg
)
add_service_files(
FILES
CreateTransform.srv
TransformId.srv
SetActive.srv
GetCurrentId.srv
GetIds.srv
CreateLinearPattern.srv
CreateRectangularPattern.srv
CreateCircularPattern.srv
CreateScatterPattern.srv
CreateHoneycombPattern.srv
SetIterationOrder.srv
GetTransformParams.srv
SetParent.srv
Filename.srv
GetTransformId.srv
UpdateTransform.srv
GetTransforms.srv
SetName.srv
SetRotation.srv
SetTranslation.srv
GetTransformName.srv
GetTransformsInfo.srv
GetChildren.srv
)
generate_messages(
DEPENDENCIES
std_msgs
geometry_msgs
visualization_msgs
)
catkin_package(
# INCLUDE_DIRS include
# LIBRARIES pattern_manager
# CATKIN_DEPENDS geometry_msgs rospy std_msgs tf visualization_msgs
# DEPENDS system_lib
)
include_directories(
${catkin_INCLUDE_DIRS}
)
catkin_install_python(
PROGRAMS nodes/pattern_manager_node
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
## Add folders to be run by python nosetests
if (CATKIN_ENABLE_TESTING)
catkin_add_nosetests(test/test_xform.py)
catkin_add_nosetests(test/test_plugin.py)
catkin_add_nosetests(test/test_pattern.py)
catkin_add_nosetests(test/test_util.py)
endif()