When to use ccache?

As far as I know, ccache speeds up compilation by catching previous compilations and finding that repeating the same compilation is done again. however, the makefile does the same. so why do we need ccache? when do we use it? thank!

+3
source share
2 answers

From http://ccache.samba.org/ :

If you ever run make clean; make, you are likely to benefit from CCache. Developers usually make a clean build of a project for a number of reasons, and this discards all the information from your previous compilations. Using ccache, recompiling is much faster.

ccache , . , , , , , .

ccache , , , .

, .

+4

, , , ccache ms-based buildsystem:

( ) , , , (, define.h), , mtime . , ccache .

+1

All Articles