rosidl_python icon indicating copy to clipboard operation
rosidl_python copied to clipboard

use ament_python_install_package when package is not installed

Open knorth55 opened this issue 3 years ago • 0 comments

this PR fix #141 with this PR, we can use rosidl_generator_interfaces and ament_python_install_package in the same CMakeLists.txt.

But the order is important. as https://github.com/ros-drivers/audio_common/pull/212, we need to ament_python_install_package first and rosidl_generate_interfaces later.

ament_python_install_package(${PROJECT_NAME})

rosidl_generate_interfaces(${PROJECT_NAME}
  ${msg_files}
  ${action_files}
  DEPENDENCIES
    action_msgs
    audio_common_msgs
    builtin_interfaces
)

knorth55 avatar Oct 26 '22 15:10 knorth55