ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Perhaps you can use the catkin build command instead of catkin_make. catkin build allows for building individual packages via catkin build PKG_NAME to prevent rebuilding all. But this only works well when you are constantly building a small number of packages. If your problem is in reverse, in that you want to build all except a few packages, what gvdhoorn said is accurate, adding a touch CATKIN_IGNORE in the package directory will exclude it from future rebuilds.

Another method is to build all the static packages in one workspace and all the packages that need constant rebuilding in another workspace. Then, you can add an alias so that you are able to source both directories simultaneously

alias source_everything="source ws_1/devel/setup.bash && source ws_2/devel/setup.bash --extend"

Hope that helps.