diff options
author | Juha Alanen <juha.alanen@mapbox.com> | 2020-02-24 17:04:37 +0200 |
---|---|---|
committer | Juha Alanen <juha.alanen@mapbox.com> | 2020-02-27 10:09:35 +0200 |
commit | b756ff8e14037d4f25db1a14c7533ca513a0f2e0 (patch) | |
tree | efa70a292398f2cb0d814d841ae023b78c86f0a5 /platform/ios/ccache-cxx.in | |
parent | 18e9ed1c0b7007a0d4e2ce14ed687270900e24ba (diff) | |
download | qtlocation-mapboxgl-b756ff8e14037d4f25db1a14c7533ca513a0f2e0.tar.gz |
[build][ios] Move iOS specific ccache scripts to platform directory
Diffstat (limited to 'platform/ios/ccache-cxx.in')
-rw-r--r-- | platform/ios/ccache-cxx.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/platform/ios/ccache-cxx.in b/platform/ios/ccache-cxx.in new file mode 100644 index 0000000000..81831ad4dc --- /dev/null +++ b/platform/ios/ccache-cxx.in @@ -0,0 +1,9 @@ +#!/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}" "$@" |