Lars Schneider <larsxschnei...@gmail.com> wrote: > An engineer works on a task branch and runs incremental builds — all > is good. The engineer switches to another branch to review another > engineer's work. This other branch changes a low-level header file, > but no rebuild is triggered. The engineer switches back to the previous > task branch. At this point, the incremental build will rebuild > everything, as the compiler thinks that the low-level header file has > been changed (because the mtime is different).
If you are using C or C++, look into ccache. We're using it to work around this problem, and it's a near-perfect solution, I'd say.