Hi, I am not sure if this is documented somewhere or if this should be an issue in the ament_cmake, and it's kind of aimed for ROS 2.
I noticed that if <build_type>ament_cmake<build_type> is not present in the package.xml. Even if ament_package() is declared in the CMakeLists.txt and ament_cmake is a buildtool_depend, the built package is not listed in the ament_index.
I think it could be quite easy to detect this case (presence of ament_cmake intention) and WARN the user. It would have saved me quite some pain today.
Let me know if this should be moved somewhere else or if this idea makes no sense.
Hi, I am not sure if this is documented somewhere or if this should be an issue in the ament_cmake, and it's kind of aimed for ROS 2.
I noticed that if <build_type>ament_cmake<build_type> is not present in the package.xml. Even if ament_package() is declared in the CMakeLists.txt and ament_cmake is a buildtool_depend, the built package is not listed in the ament_index.
I think it could be quite easy to detect this case (presence of ament_cmake intention) and WARN the user. It would have saved me quite some pain today.
Let me know if this should be moved somewhere else or if this idea makes no sense.