Port to Noetic.
authorWalter Fetter Lages <w.fetter@ieee.org>
Tue, 8 Sep 2020 03:59:19 +0000 (00:59 -0300)
committerWalter Fetter Lages <w.fetter@ieee.org>
Tue, 8 Sep 2020 03:59:19 +0000 (00:59 -0300)
CMakeLists.txt
package.xml

index ec381dc..d2d1bd2 100644 (file)
@@ -1,4 +1,4 @@
-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
@@ -16,7 +16,6 @@ find_package(catkin REQUIRED COMPONENTS
 
 ## System dependencies are found with CMake's conventions
 # find_package(Boost REQUIRED COMPONENTS system)
-
 find_package(Eigen3 REQUIRED)
 
 
@@ -165,16 +164,23 @@ target_link_libraries(odometry_publisher ${PROJECT_NAME}
 
 ## 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
index e8ef756..f65e87f 100644 (file)
@@ -1,7 +1,7 @@
 <?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 -->