Have you used ccache? From the Samba project originally, it’s a tool that carefully intercepts calls to GCC and returns cache object files if applicable; otherwise it invokes GCC itself and caches the results. It’s awesome when you frequently clean + rebuild the same project with only minor changes in between (e.g. autobuilds)
I just learned about a similar tool that works with Microsoft Visual C++. The readme recommends creating a cl.bat and putting it on the path, so it’s not clear to me how it would integrate with the devenv.com or the MSVS IDE. Maybe py2exe to make an actual cl.exe?