You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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:
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 othersPACKAGE_B_CUSTOM1=42
only affecting pkgBIf 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!
The text was updated successfully, but these errors were encountered: