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