comply to the new catkin API

This commit is contained in:
Vincent Rabaud
2012-10-04 16:58:35 +02:00
committed by Paul Bovbel
parent a29653e9aa
commit a1b32d4fb6
5 changed files with 41 additions and 62 deletions
+6 -8
View File
@@ -1,12 +1,11 @@
cmake_minimum_required(VERSION 2.8)
project(pcl_ros)
# Deal with catkin
find_package(catkin REQUIRED roscpp sensor_msgs tf)
find_package(Boost COMPONENTS system filesystem thread REQUIRED)
find_package(Eigen)
find_package(PCL)
find_package(PCL)
# deal with ROS
include_directories(${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${Eigen_INCLUDE_DIRS} ${PCL_INCLUDE_DIRS})
@@ -14,18 +13,17 @@ include_directories(include)
link_directories(${catkin_LIBRARY_DIRS} ${Boost_LIBRARY_DIRS} ${Eigen_LIBRARY_DIRS} ${PCL_LIBRARY_DIRS})
catkin_project(${PROJECT_NAME}
INCLUDE_DIRS include
LIBRARIES pcl_ros_tf
DEPENDS roscpp sensor_msgs tf
catkin_package(DEPENDS Eigen pcl roscpp sensor_msgs tf
INCLUDE_DIRS include
LIBRARIES pcl_ros_tf
)
# ---[ Point Cloud Library - Transforms
add_library (pcl_ros_tf SHARED src/transforms.cpp)
target_link_libraries(pcl_ros_tf ${PCL_LIBS} ${Boost_LIBS} ${catkin_LIBS})
install(DIRECTORY include/
DESTINATION ${CATKIN_GLOBAL_INCLUDE_DESTINATION}
install(DIRECTORY include/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
)
install(TARGETS pcl_ros_tf
+31
View File
@@ -0,0 +1,31 @@
<package>
<name>pcl_ros</name>
<version>1.0.10</version>
<description brief="Point Cloud Library interface package">
<p>
PCL (Point Cloud Library) ROS interface stack. PCL-ROS is the preferred
bridge for 3D applications involving n-D Point Clouds and 3D geometry
processing in ROS.
</p>
</description>
<author>Open Perception</author>
<maintainer email="jkammerl@willowgarage.com">Julius Kammerl</maintainer>
<license>BSD</license>
<review status="Doc reviewed" notes=""/>
<url>http://ros.org/wiki/perception_pcl</url>
<copyright>Open Perception</copyright>
<build_depend>catkin</build_depend>
<build_depend>cmake</build_depend>
<build_depend>common_msgs</build_depend>
<build_depend>eigen</build_depend>
<build_depend>geometry</build_depend>
<build_depend>pcl</build_depend>
<build_depend>roscpp_core</build_depend>
<run_depend>common_msgs</run_depend>
<run_depend>eigen</run_depend>
<run_depend>geometry</run_depend>
<run_depend>pcl</run_depend>
<run_depend>roscpp_core</run_depend>
</package>