2 # Set up compiler wrapper to make it easier to use ccache.
4 # Xcode generator doesn't include the compiler as the
5 # first argument, Ninja and Makefiles do. Handle both cases.
6 if [[ "$1" = "${CMAKE_C_COMPILER}" ]] ; then
10 export CCACHE_CPP2
=true
11 exec "${_c_launcher}" "${CMAKE_C_COMPILER}" "$@"