Files
MapLibreParticleLab/scripts/ci/ccache-c.in
2020-02-14 12:01:52 +02:00

10 lines
233 B
Bash

#!/bin/sh
# Xcode generator doesn't include the compiler as the
# first argument, Ninja and Makefiles do. Handle both cases.
if [[ "$1" = "${CMAKE_C_COMPILER}" ]] ; then
shift
fi
exec "${C_LAUNCHER}" "${CMAKE_C_COMPILER}" "$@"