I am aware that scons
implements the functionality of ccache
, but I am stuck with another build system.
I also know there is a gocache
project on SourceForge that aims to implement ccache
-like functionality for other compilers, but it seems not complete.
You can use ccache in two ways. The first is just to prefix your compile commands with "ccache". For example, you could change the "CC=gcc" line in your Makefile to be "CC=ccache gcc". Alternatively, you can create symbolic links from your compilers name to ccache.
A shameless plug, but I wrote a Python script which attempts to work just like ccache, except that it can wrap MSVC. See https://github.com/frerich/clcache
There's an unofficial patch to ccache to support MSVC, but I haven't yet tried it myself...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With