Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tools: add COLCON_IGNORE to modules and libraries #23507

Merged
merged 1 commit into from
Apr 19, 2023

Conversation

srmainwaring
Copy link
Contributor

Prevent colcon from searching in modules and libraries for CMakeLists.txt.

This removes the need to specify or otherwise filter packages when building ROS 2 / DDS cmake projects with colcon.

Related to:

- Prevent colcon from searching in modules and libraries for CMakeLists.txt.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
Copy link
Contributor

@khancyr khancyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say ok if it solves the issue currently. Those file wont bother other tools so that is fine.

One thing that could be annoying would be that we need to put those file everywhere, but we could deal we that later. I don't have strong knoledge on colcon, but I assume we could have a config file or have a pre-build rules to pass all path to except if we need more that those

@khancyr khancyr added the ROS label Apr 17, 2023
@srmainwaring
Copy link
Contributor Author

srmainwaring commented Apr 17, 2023

One thing that could be annoying would be that we need to put those file everywhere

COLCON_IGNORE suppresses colcon looking for a CMakeList.txt files in that folder and all sub-folders, so modules and libraries should cover it.

@tridge tridge merged commit 954af20 into ArduPilot:master Apr 19, 2023
@srmainwaring srmainwaring deleted the pr/pr-add-colcon-ignore branch May 1, 2023 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants