Change CMakeLists.txt from rosbuild to catkin [closed]
Hi everyone!
I would appreciate if someone could help me correct this CMakeLists.txt from rosbuild to catkin!
Thank you for your time!
cmake_minimum_required(VERSION 2.4.6)
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
rosbuild_init()
#set the default path for built executables to the "bin" directory
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
#set the default path for built libraries to the "lib" directory
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
# add dynamic reconfigure api
rosbuild_find_ros_package(dynamic_reconfigure)
include(${dynamic_reconfigure_PACKAGE_PATH}/cmake/cfgbuild.cmake)
gencfg()
rosbuild_add_executable(pcl_decimator src/pcl_decimator.cpp)
*UPDATE*
In the node of the package, there is an include which says it cannot be found:
#include <pcl_decimator/PCLDecimatorConfig.h>
The package only has one .cpp file in src folder, and has a .cfg file in the cfg folder... Why can't he found this? Is this a migration problem?