0

I used cmake to build a c++ project, but ccache didn't hit when I switched the git branch back. How do I avoid recompiling because the current code is exactly the same as before.

zp c
  • 3
  • 1
  • Can you elaborate what you did exactly? Because it seems to me like Ccache should have returned cache hits after all. Did you change any CMake options? Also, how does your question title relate to all of this? – Maarten Bamelis Feb 10 '22 at 16:39
  • @MaartenBamelis I just switch the git branch and didn't change anything. I expect no recompilation to be triggered. – zp c Mar 09 '22 at 02:15

0 Answers0