Is there a 'ccache' for Visual Studio? [cl

2020-02-08 04:57发布

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条回答
爷的心禁止访问
2楼-- · 2020-02-08 05:43

Stashed

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

Disclaimer: I'm one of the authors :)

查看更多
爷的心禁止访问
3楼-- · 2020-02-08 05:44

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.

查看更多
Fickle 薄情
4楼-- · 2020-02-08 05:54

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.

查看更多
Viruses.
5楼-- · 2020-02-08 05:56

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

查看更多
Explosion°爆炸
6楼-- · 2020-02-08 05:57

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

查看更多
登录 后发表回答