No, at least not with the make backend. Two suggestions:
1) Install ccache (and set CCACHE_BASEDIR=$HOME [1]), so that at least the
rebuild is fast.
2) Use per-branch working directories (separate clones).

[1] I think this is necessary to get full speedup with cmake's handling of
separate build directories.

-j.



On 30 May 2013 14:54, Johan Hake <[email protected]> wrote:

> Hello!
>
> Is there a way to trick cmake to not rebuild everything after one have
> checkout another branch?
>
> Following the recipe from cmake.local I have on build directory for each
> branch, but that is not enough as it seems like a full checkout touches
> all files in the source directory, which triggers the rebuild.
>
> Johan
> _______________________________________________
> fenics mailing list
> [email protected]
> http://fenicsproject.org/mailman/listinfo/fenics
>
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to