Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a 'ccache' for Visual Studio? [closed]

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.

like image 247
amit kumar Avatar asked Dec 07 '09 14:12

amit kumar


People also ask

How do I use Ccache?

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.


2 Answers

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

like image 153
Frerich Raabe Avatar answered Sep 23 '22 02:09

Frerich Raabe


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

like image 29
Chris Dolan Avatar answered Sep 25 '22 02:09

Chris Dolan