colcon-core icon indicating copy to clipboard operation
colcon-core copied to clipboard

--package-skip-build-finished skips previously uninstalled packages

Open rotu opened this issue 6 years ago • 1 comments

Take a package, install it with colcon build ..., uninstall it with colcon build --cmake-target uninstall and rebuild with the --package-skip-build-finished. You will note that the package is skipped, since it is marked as build finished. If this is the expected behavior, it would be nice to have another flag that builds the packages that are not installed (including ones previously uninstalled).

rotu avatar Oct 23 '19 02:10 rotu

I think it would be desired to mark the package as "not build" anymore when triggering the uninstall target. Please consider propose a pull request to do so. I think it might be a bit more complicated since those two parts are independent from each other.

dirk-thomas avatar Oct 23 '19 03:10 dirk-thomas