ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You can always delete a build folder in catkin and create a new one. You can also have differently named build folders. Catkin always builds all packages it finds in the src folder, so if you only want to build the ros_comm variant, you need to remove all packages that do not belong to that variant from the src folder.
If you need a "make clean" command that removes all items from your buildspace (and devel space) but keeps your build options i don't think we have such a thing, nor does cmake. But your buildspace is like a standard cmake build space.
So you can remove the devel folder, and remove all files and folders from your build folder except for CMakeCache.txt (which contains your build options). Calling cmake then will start a fresh build. So step-by-step: