Skip to content

Commit

Permalink
Split off pcl_ros_filter into separate library (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbovbel committed Jun 28, 2019
1 parent fdeb659 commit 8255572
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions pcl_ros/CMakeLists.txt
Expand Up @@ -87,8 +87,7 @@ generate_dynamic_reconfigure_options(
catkin_package(
INCLUDE_DIRS include
LIBRARIES
pcl_ros_filters
pcl_ros_io
pcl_ros_filter
pcl_ros_tf
CATKIN_DEPENDS
dynamic_reconfigure
Expand Down Expand Up @@ -151,18 +150,24 @@ add_dependencies(pcl_ros_features ${PROJECT_NAME}_gencfg)
class_loader_hide_library_symbols(pcl_ros_features)


## Declare library for base filter plugin
add_library(pcl_ros_filter
src/pcl_ros/filters/filter.cpp
)
target_link_libraries(pcl_ros_filter pcl_ros_tf ${Boost_LIBRARIES} ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_dependencies(pcl_ros_filter ${PROJECT_NAME}_gencfg)

## Declare the pcl_ros_filters library
add_library(pcl_ros_filters
src/pcl_ros/filters/extract_indices.cpp
src/pcl_ros/filters/filter.cpp
src/pcl_ros/filters/passthrough.cpp
src/pcl_ros/filters/project_inliers.cpp
src/pcl_ros/filters/radius_outlier_removal.cpp
src/pcl_ros/filters/statistical_outlier_removal.cpp
src/pcl_ros/filters/voxel_grid.cpp
src/pcl_ros/filters/crop_box.cpp
)
target_link_libraries(pcl_ros_filters pcl_ros_tf ${Boost_LIBRARIES} ${catkin_LIBRARIES} ${PCL_LIBRARIES})
target_link_libraries(pcl_ros_filters pcl_ros_filter pcl_ros_tf ${Boost_LIBRARIES} ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_dependencies(pcl_ros_filters ${PROJECT_NAME}_gencfg)
class_loader_hide_library_symbols(pcl_ros_filters)

Expand Down Expand Up @@ -239,6 +244,7 @@ install(
pcl_ros_tf
pcl_ros_io
pcl_ros_features
pcl_ros_filter
pcl_ros_filters
pcl_ros_surface
pcl_ros_segmentation
Expand Down

0 comments on commit 8255572

Please sign in to comment.