-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
79 lines (70 loc) · 2.21 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
cmake_minimum_required(VERSION 2.8)
project(ros_comm)
find_package(catkin REQUIRED COMPONENTS genmsg cpp_common rostime
roscpp_serialization roscpp_traits std_msgs rosunit
)
catkin_stack()
include_directories(${catkin_INCLUDE_DIRS})
link_directories(${catkin_LIBRARY_DIRS})
# Must call catkin_python_setup() before recursing into subdirs
# so that rostest is available in build-space
# before anybody calls add_rostest().
catkin_python_setup()
foreach(subdir
tools/rostest
messages/rosgraph_msgs
messages/std_srvs
utilities/xmlrpcpp
tools/rosconsole
clients/cpp/roscpp
clients/roslisp
tools
utilities/message_filters
# for tests
utilities/roswtf
test/test_ros
test/test_roslib_comm
test/test_rospy
test/test_rosservice
test/test_roscpp
test/test_roscpp_serialization
test/test_roscpp_serialization_perf
test/test_rostime
test/perf_roscpp
test/test_crosspackage
test/test_rosbag
)
add_subdirectory(${subdir})
endforeach()
add_nosetests(test/test_roslib_comm/test)
add_nosetests(tools/rosmaster/test)
add_nosetests(tools/rosmsg/test)
add_nosetests(tools/rosparam/test)
add_nosetests(tools/rosgraph/test)
add_nosetests(tools/roslaunch/test/unit)
add_nosetests(utilities/roswtf/test)
# install legacy infrastructure needed by rosbuild
# rospy
install(FILES clients/rospy/rosbuild/rospy.cmake
DESTINATION share/rospy/rosbuild)
install(PROGRAMS
clients/rospy/rosbuild/scripts/genmsg_py.py
clients/rospy/rosbuild/scripts/gensrv_py.py
DESTINATION share/rospy/rosbuild/scripts)
install(FILES
clients/rospy/rosbuild/scripts/genutil.py
DESTINATION share/rospy/rosbuild/scripts)
# roslisp
install(FILES clients/roslisp/rosbuild/roslisp.cmake
DESTINATION share/roslisp/rosbuild)
install(PROGRAMS
clients/roslisp/rosbuild/scripts/genmsg_lisp.py
DESTINATION share/roslisp/rosbuild/scripts)
install(PROGRAMS
clients/cpp/roscpp/rosbuild/scripts/genmsg_cpp.py
clients/cpp/roscpp/rosbuild/scripts/gensrv_cpp.py
DESTINATION share/roscpp/rosbuild/scripts)
# install all manifests
install_matching_to_share(manifest.xml)
install(FILES stack.xml
DESTINATION share/ros_comm)