move/copy workspace
is there a tool to copy or move a workspace that would minimize rebuilding time?
example: I have lots of repos in my workspace, rebuilding from scratch takes 15 minutes. Plus there is a lot of test data that takes a long time to download.
I would like to be working on multiple issues at the same time, i.e. I work on issue 1 and while somebody else is reviewing my pull request I would like to work on issue 2, etc. I want to be able to switch back and forth quickly between those 2 code bases.
Working with branches and switching between them is the simple solution, but it has drawbacks as well: while I am in the middle of making my changes, I have a lot on uncommited changes, I need to stash them, switch branch, rebuild, etc...
working with multiple workspaces is great, but then to initially create the workspace is a drag because of the build and download time
So I'd like to be able to copy workspace for issue 1 as a new workspace for issue 2. This way, after I switch branches and make some code modifications, it recompiles quickly.
I tried a simple workspace copy and edited the CMakeCache to switch the workspace root folder, but then when I compiled it basically recompiled from scratch...
I'm sure I am not the first one to think about this, so I was hoping that there might be a tool just for that...
What tool are you using to build with?
catkin_make