The project has been moved as a proper fork here: https://github.com/cristianadam/ccache
This project includes a CMake build port for ccache, which is is part of the project as a git subtree.
gperf 3.1 is also included under the gperf folder.
Should be done as any other CMake project:
$ mkdir build $ cd build $ cmake -GNinja -DCMAKE_BUILD_TYPE=Release ../ccache-cmake