Port to Noetic. noetic
authorWalter Fetter Lages <w.fetter@ieee.org>
Wed, 9 Sep 2020 03:56:08 +0000 (00:56 -0300)
committerWalter Fetter Lages <w.fetter@ieee.org>
Wed, 9 Sep 2020 03:56:08 +0000 (00:56 -0300)
CMakeLists.txt
package.xml

index 2ac148f..2a4829b 100644 (file)
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8.3)
+cmake_minimum_required(VERSION 3.0.2)
 project(pose2d_trajectories)
 
 ## Compile as C++11, supported in ROS Kinetic and newer
@@ -131,7 +131,7 @@ add_library(${PROJECT_NAME}
 ## Add cmake target dependencies of the library
 ## as an example, code may need to be generated before libraries
 ## either from message generation or dynamic reconfigure
-add_dependencies(${PROJECT_NAME} ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
+add_dependencies(${PROJECT_NAME} ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
 
 ## Declare a C++ executable
 ## With catkin_make all packages are built within a single CMake context
@@ -174,16 +174,23 @@ target_link_libraries(pose2d_stamp
 
 ## 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
+## Mark executables for installation
+## See http://docs.ros.org/melodic/api/catkin/html/howto/format1/building_executables.html
+install(TARGETS eight_trajectory pose2d_stamp
+   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 08b7459..bb35cb3 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <package format="2">
   <name>pose2d_trajectories</name>
-  <version>3.1.0</version>
+  <version>3.2.0</version>
   <description>The pose2d_trajectories package</description>
 
   <!-- One maintainer tag required, multiple allowed, one person per tag -->