Skip to content

Suggestion: colcon.meta support multiple targets #31

Description

@jparisu

Good morning,

I would like to contribute with a suggestions that I (and many of my colleagues) think that it would be an incredibly useful feature (and not very hard to implement).

Current behaviour

colcon.meta allows to set names and paths to find ONE packages and add compilation flags to it.

New desired behaviour

Allow to set compilation flags for many packages at the same time, by using a wildcard, regex or a new parameter in json file to specify which ones.

Example

Current:

{
  "names":
  {
    "package1":
    {
      "cmake-args":
      [
        "-DCMAKE_BUILD_TYPE=Debug"
      ]
    },
    "package2":
    {
      "cmake-args":
      [
        "-DCMAKE_BUILD_TYPE=Debug"
      ]
    }
  }
}

Desired:

{
  "names":
  {
    "package*":
    {
      "cmake-args":
      [
        "-DCMAKE_BUILD_TYPE=Debug"
      ]
    }
  }
}

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions