ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There is no option to ignore that specific file.

As a workaround - instead of using the default (recursively crawling for packages which stops at that CMake file) - you can choose a different way to discover packages:

  • If all packages are direct subdirectories of src you could call colcon with --paths src/*.
  • If you need crawl recursively under src you can pass --base-paths src/*.

Both options are described when you invoke e.g. colcon build --help.