Skip to content

Commit 0c5be69

Browse files
committed
catkin_lint fixes
1 parent fbfe211 commit 0c5be69

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

CMakeLists.txt

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@ project(pointcloud_to_laserscan)
44
find_package(catkin REQUIRED COMPONENTS
55
message_filters
66
nodelet
7+
pcl_ros
78
roscpp
89
sensor_msgs
910
tf
1011
tf2
12+
tf2_geometry_msgs
1113
tf2_ros
1214
tf2_sensor_msgs
13-
tf2_geometry_msgs
14-
pcl_ros
1515
)
1616

1717
catkin_package(
1818
INCLUDE_DIRS include
19-
LIBRARIES pointcloud_to_laserscan ipa_pointcloud_to_laserscan roi_outlier_removal
20-
CATKIN_DEPENDS roscpp message_filters nodelet sensor_msgs tf2 tf2_ros tf2_sensor_msgs tf2_geometry_msgs pcl_ros
19+
LIBRARIES ${PROJECT_NAME} ipa_${PROJECT_NAME} roi_outlier_removal
20+
CATKIN_DEPENDS message_filters nodelet pcl_ros roscpp sensor_msgs tf2 tf2_geometry_msgs tf2_ros tf2_sensor_msgs
2121
)
2222

2323
include_directories(
@@ -34,25 +34,25 @@ target_link_libraries(frame_publisher_node frame_publisher ${catkin_LIBRARIES})
3434
add_library(roi_outlier_removal src/roi_outlier_removal_nodelet.cpp)
3535
target_link_libraries(roi_outlier_removal ${catkin_LIBRARIES})
3636

37-
add_library(pointcloud_to_laserscan src/pointcloud_to_laserscan_nodelet.cpp)
38-
target_link_libraries(pointcloud_to_laserscan ${catkin_LIBRARIES})
37+
add_library(${PROJECT_NAME} src/${PROJECT_NAME}_nodelet.cpp)
38+
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES})
3939

40-
add_executable(pointcloud_to_laserscan_node src/pointcloud_to_laserscan_node.cpp)
41-
target_link_libraries(pointcloud_to_laserscan_node pointcloud_to_laserscan ${catkin_LIBRARIES})
40+
add_executable(${PROJECT_NAME}_node src/${PROJECT_NAME}_node.cpp)
41+
target_link_libraries(${PROJECT_NAME}_node ${PROJECT_NAME} ${catkin_LIBRARIES})
4242

43-
add_library(ipa_pointcloud_to_laserscan src/ipa_pointcloud_to_laserscan_nodelet.cpp src/scan_outlier_removal_filter.cpp)
44-
target_link_libraries(ipa_pointcloud_to_laserscan ${catkin_LIBRARIES})
43+
add_library(ipa_${PROJECT_NAME} src/ipa_${PROJECT_NAME}_nodelet.cpp src/scan_outlier_removal_filter.cpp)
44+
target_link_libraries(ipa_${PROJECT_NAME} ${catkin_LIBRARIES})
4545

46-
add_executable(ipa_pointcloud_to_laserscan_node src/ipa_pointcloud_to_laserscan_node.cpp src/scan_outlier_removal_filter.cpp)
47-
target_link_libraries(ipa_pointcloud_to_laserscan_node ipa_pointcloud_to_laserscan ${catkin_LIBRARIES})
46+
add_executable(ipa_${PROJECT_NAME}_node src/ipa_${PROJECT_NAME}_node.cpp src/scan_outlier_removal_filter.cpp)
47+
target_link_libraries(ipa_${PROJECT_NAME}_node ipa_${PROJECT_NAME} ${catkin_LIBRARIES})
4848

4949
install(TARGETS frame_publisher
5050
frame_publisher_node
51+
ipa_${PROJECT_NAME}
52+
ipa_${PROJECT_NAME}_node
53+
${PROJECT_NAME}
54+
${PROJECT_NAME}_node
5155
roi_outlier_removal
52-
pointcloud_to_laserscan
53-
pointcloud_to_laserscan_node
54-
ipa_pointcloud_to_laserscan
55-
ipa_pointcloud_to_laserscan_node
5656
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
5757
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
5858
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION})

0 commit comments

Comments
 (0)