40

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.

5 Answers 5

34

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

1
  • The github repo is marked as archived, so I assume this is no longer maintained.
    – Zitrax
    Dec 9, 2022 at 13:20
7

There's an unofficial patch to ccache to support MSVC, but I haven't yet tried it myself...

2
4

https://github.com/inorton/cclash

It is a bit more of a plug. I've been using it to shave about 35% off our Cygwin Visual Studio 2012 builds.

3

Incredibuild is very nice, though it is more like distcc for Visual Studio than ccache.

If you want both ccache and distcc for a Visual Studio environment, try Stashed along with Incredibuild at the same time. It works a lot like ccache + distcc for Linux, without the configuration or administrative overhead.

1
  • 6
    Incredibuild is also not free
    – pratikone
    Jan 14, 2020 at 9:44
3

Stashed

It supports PDB, PCH, and has a nice dashboard.

2
  • 21
    I think it is important to mention that stashed.io is not free but needs a license, because ccache is free. Sep 25, 2018 at 8:34
  • Might no longer be maintained, last release in 2019 and several links on the homepage are dead.
    – Zitrax
    Dec 9, 2022 at 13:16

Not the answer you're looking for? Browse other questions tagged or ask your own question.