Closed allsey87 closed 7 months ago
I don't think so. For per-package options, you could use a colcon.pkg
file or a .meta
file, but it's not the same thing as using a mixin.
Thanks @christophebedard, I will take a different approach then but will leave this issue open to be marked as a potential enhancement.
By the way, I really liked your implementation/blog on rmw_email, it helped me a fair bit when I was working on ROS On Web.
By the way, I really liked your implementation/blog on rmw_email, it helped me a fair bit when I was working on ROS On Web.
Nice, good to hear it was useful!
@christophebedard is right here - meta files are the recommended way to do something like adding cmake arguments for a specific package. There's no way to make a meta file apply to a set of packages though.
I think that either way, a PR to improve colcon-metadata
would be the most likely path to landing a feature like this.
Is it currently possible to apply something like
cmake-args
to a specific package? For example, something like the following mixin, but with thecmake-args
only applied topackage_to_apply_cmake_args
(the mixin below does not achieve this, it appliescmake-args
to all packages).