Have you tested this and had it work for you? Because it doesn't seem to be working for me. Re-compilations are still slow and my task manager does not show the ccache program running. The autogenerated file in build/cp314/build.ninja seems to hardcode paths to compilers rather than use the environment variables CC and CXX.