Ask Your Question

catkin_make require build of package without dependencies

asked 2019-05-06 18:50:51 -0500

KenYN gravatar image

We have a driver package for our hardware we have developed ourselves, which I shall call foo_driver. On our test desktop environment, we do not need the package, so there are no dependencies in the package.xml files of other packages, so it never builds on the desktop as expected.

However, we now want to run a QA tool on the library, which according to our QA department requires the standard catkin_make to try to build the library. We cannot ask for a single package build with catkin_make --pkg foo_driver apparently, so is there some way to flag a library as "Always build" or something?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-05-06 19:47:36 -0500

Dirk Thomas gravatar image

Assuming your driver package has a manifest file catkin_make always builds all packages in a workspace. The dependencies only determine the order

edit flag offensive delete link more


Oops, just checked and there is a if (${CMAKE_DEB_HOST_ARCH} MATCHES "amd642) return() endif() at the top of the CMakeLists.txt making it not build on the desktop.

KenYN gravatar image KenYN  ( 2019-05-06 20:02:21 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2019-05-06 18:50:51 -0500

Seen: 181 times

Last updated: May 06 '19