This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] Enable ccache for Xcode iOS builds
- Loading branch information
Juha Alanen
committed
Feb 14, 2020
1 parent
af74282
commit 7a9f802
Showing
3 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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_C_COMPILER}" ]] ; then | ||
shift | ||
fi | ||
|
||
exec "${C_LAUNCHER}" "${CMAKE_C_COMPILER}" "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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}" "$@" |