Disable ccache by default
authorMark Abraham <mark.j.abraham@gmail.com>
Sat, 27 Oct 2018 13:10:01 +0000 (15:10 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 1 Nov 2018 10:04:51 +0000 (11:04 +0100)
commitc961175cec4ba21c17254ed3a93e613e1f548a39
tree0957ec165b0846ab733d8ef678181169f5263da5
parent513b217b2c5a392b0d2360cf2dc8dc49fb35c66a
Disable ccache by default

There are too many use cases where build trees might be used on
different nodes where ccache might not be available, or with compilers
that it cannot support to continue to enable it by default. If the
user opts in, then the build system searches for ccache and gives a
fatal error if it is not found, or if the compiler is not supported.

The wrappers used by clang-tidy and clang-analyzer do not work
with ccache, so those configurations issue a fatal error if
ccache is enabled.

Made various minor aspects conform to style for naming cache
variables, use of endif(), etc.

Refs #2688

Change-Id: I55c8d4a8a07ada704c49d4f99c1557a7ab97f353
CMakeLists.txt
cmake/gmxManageCcache.cmake [moved from cmake/gmxCcache.cmake with 81% similarity]
docs/dev-manual/tools.rst