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

Provide better examples for .meta files #94

Open
Ryanf55 opened this issue Mar 22, 2024 · 0 comments
Open

Provide better examples for .meta files #94

Ryanf55 opened this issue Mar 22, 2024 · 0 comments

Comments

@Ryanf55
Copy link

Ryanf55 commented Mar 22, 2024

I have a bunch of packages that have CMake options exposed. Some are package-specific, but are in upstream repos that don't want to change defaults.

When building in colcon, there is support for changing the behavior of packages from the colcon root, but the docs do not explain how to use it very well.

Can you provide a more complete example in the docs for a use case like this:

src/
   pkgA/
   pkgB/
   pkgC/
.my_example.meta

I want to turn

  • BUILD_TESTING=OFF on pkgA because its tests take forever to compile and it's slow, but leave it as default (on) in the others
  • PACKAGE_B_CUSTOM1=42 only affecting pkgB

If you try setting CMake args for these for the entire build, there is no fine grained control.

It would be very helpful for the docs to include a sample my_example.meta

Thanks for the consideration!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant