[CMake] CCACHE_DIR Environment Variable

Dave Flogeras dflogeras2 at gmail.com
Thu Jan 19 16:00:56 EST 2017


On Thu, Jan 19, 2017 at 4:44 PM, David Lind <davidklind at gmail.com> wrote:

> That’s not the issue. The issue is telling ccache where to place it’s
> cache files. If I compiles for toolchain X, Y and X, I need to set
> CCACHE_DIR accordingly. Otherwise the cache will be useless.
>
>
https://ccache.samba.org/manual.html#_common_hashed_information

It seems that ccache includes stuff specific to the exact compiler when
calculating its hashes, which means as long as your CCACHE_DIR is big
enough, it will keep all the object code straight (and separated by
compiler)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170119/77985986/attachment.html>


More information about the CMake mailing list