Travis: enable ccache usage under macOS; halves compilation time (#3052)

This commit is contained in:
ctrlaltca 2018-01-27 19:43:48 +01:00 committed by Zach H
parent e127cb74b6
commit 994a643d9c
5 changed files with 36 additions and 6 deletions

3
cmake/launch-c.in Normal file
View file

@ -0,0 +1,3 @@
#!/bin/sh
export CCACHE_CPP2=true
exec "${RULE_LAUNCH_COMPILE}" "${CMAKE_C_COMPILER}" "$@"

3
cmake/launch-cxx.in Normal file
View file

@ -0,0 +1,3 @@
#!/bin/sh
export CCACHE_CPP2=true
exec "${RULE_LAUNCH_COMPILE}" "${CMAKE_CXX_COMPILER}" "$@"