hintonda abandoned this revision. hintonda added a comment. If *_COMPILER_ARG1 is set, then it shall be the compiler, and the value for CMAKE_<LANG>_COMPILER may be ccache, but could also be something else, e.g., distcc, etc. Therefore, I don't see a clean way to check it.
However, newer versions of cmake have abandoned the *_COMPILER_ARG1 solutions and set CMAKE_<LANG>_COMPILER to the real compiler and use a new variable, CMAKE_<LANG>_COMPILER_LAUNCHER for ccache, distcc, etc.. So the solution is just to upgrade to the newest version of cmake if you want to use ccache, etc... http://reviews.llvm.org/D17734 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits