title: How do I make ccache cache compilation when using absolute paths to the compiled files in different directories?
body: <p>I use CMake to create a makefiles. CMake creates GCC line containing absolute paths.</p>
  
  <p>To speed up compilation I use ccache.</p>
  
  <p>Building same code from different locations (e.g. several developers compile the same code, each under its home directory) causes ccache cache misses.</p>