This is an old post and I think FASTBuild deserves to be called out here.
If you are stuck with long build times on code that you can't change, parallelization and caching are the way to go. Incredibuild gives that, as other commenters have mentioned, but as of this writing it costs if your team is more than two developers.
FASTBuild is an open-source build parallelization and caching tool. I have had good success speeding up builds with this tool and would recommend for C++ projects that take upwards of 10 minutes to build. FASTBuild does two things -