-cmake_minimum_required(VERSION 2.8.3)
+cmake_minimum_required(VERSION 3.0.2)
project(arc_odometry)
## Compile as C++11, supported in ROS Kinetic and newer
## System dependencies are found with CMake's conventions
# find_package(Boost REQUIRED COMPONENTS system)
-
find_package(Eigen3 REQUIRED)
## Mark executable scripts (Python etc.) for installation
## in contrast to setup.py, you can choose the destination
-# install(PROGRAMS
+# catkin_install_python(PROGRAMS
# scripts/my_python_script
# DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )
-## Mark executables and/or libraries for installation
-install(TARGETS ${PROJECT_NAME} #${PROJECT_NAME}_node
+## Mark executables for installation
+## See http://docs.ros.org/melodic/api/catkin/html/howto/format1/building_executables.html
+install(TARGETS odometry_publisher
+ RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
+)
+
+## Mark libraries for installation
+## See http://docs.ros.org/melodic/api/catkin/html/howto/format1/building_libraries.html
+install(TARGETS ${PROJECT_NAME}
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
- RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
+ RUNTIME DESTINATION ${CATKIN_GLOBAL_BIN_DESTINATION}
)
## Mark cpp header files for installation
<?xml version="1.0"?>
<package format="2">
<name>arc_odometry</name>
- <version>0.0.1</version>
+ <version>0.1.0</version>
<description>The arc_odometry package</description>
<!-- One maintainer tag required, multiple allowed, one person per tag -->