Robotics StackExchange | Archived questions

Adding dependency to package via CLI

Is there any way by which I can add/append a dependency to a package via CLI after it has been created? I wish to save myself the hassle of editting the CMakelist and package.xml file. Thanks in advance!

Asked by electrophod on 2019-06-20 00:14:19 UTC

Comments

Afaik there is no tooling for this.

I'm also wondering whether this can work, as some dependencies will be system dependencies that cannot be added to find_package(catkin COMPONENTS ..) for instance. Non-ROS pkgs often need special treatment, which makes it hard to automate something like you are asking for.

But let's see whether you get any other responses.

Asked by gvdhoorn on 2019-06-20 04:11:26 UTC

Answers