Skip to content

Use a catkin wrapper instead of PkgConfig #7

@nicolov

Description

@nicolov

Hi, thank you very much for open-sourcing the code, there's a lot to learn from.

In ROS, a common pattern to handle external pure-cmake projects is to create a catkin wrapper that compiles the shared libraries and exports the includes. By doing this, any other ROS package can just REQUIRED COMPONENTS the wrapper and the library gets linked in automatically.

IMHO, this is neater than having people install chilitags system-wide using CMake, as it plays nicer with the rest of the ROS ecosystem (.deb packaging, cleaning, multiple workspaces,..)

I've created such a wrapper here and pushed the (little) changes needed to use it in my fork.

Is this something you would be interested in merging?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions