File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,4 +8,18 @@ find_package(catkin REQUIRED COMPONENTS
88catkin_package ()
99
1010# TODO: Tests
11- # TODO: Install Rules
11+
12+ #############
13+ ## Install ##
14+ #############
15+
16+ # Copy launch files
17+ install (DIRECTORY launch/
18+ DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} /launch
19+ FILES_MATCHING PATTERN "*.launch"
20+ )
21+
22+ # Copy resources
23+ install (DIRECTORY urdf/
24+ DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} /urdf
25+ )
Original file line number Diff line number Diff line change @@ -127,12 +127,22 @@ target_link_libraries(bebop_driver_node
127127# PATTERN ".svn" EXCLUDE
128128# )
129129
130- ## Mark other files for installation (e.g. launch and bag files, etc.)
131- # install(FILES
132- # # myfile1
133- # # myfile2
134- # DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
135- # )
130+ # Copy config files
131+ install (DIRECTORY config/
132+ DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} /config
133+ )
134+
135+ install (DIRECTORY data/
136+ DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} /data
137+ )
138+
139+ install (FILES nodelet_plugins.xml DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} )
140+
141+ # Copy launch files
142+ install (DIRECTORY launch/
143+ DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} /launch
144+ FILES_MATCHING PATTERN "*.launch"
145+ )
136146
137147#############
138148## Testing ##
Original file line number Diff line number Diff line change @@ -12,4 +12,17 @@ catkin_package(
1212 CATKIN_DEPENDS bebop_msgs
1313)
1414
15- # TODO: Install Rules
15+ #############
16+ ## Install ##
17+ #############
18+
19+ # Copy launch files
20+ install (DIRECTORY launch/
21+ DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} /launch
22+ FILES_MATCHING PATTERN "*.launch"
23+ )
24+
25+ # Copy config files
26+ install (DIRECTORY config/
27+ DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} /config
28+ )
You can’t perform that action at this time.
0 commit comments