Adds necessary macOS-specific implementation of the framework, focusing on native Xcode builds.
13 lines
393 B
Bash
13 lines
393 B
Bash
#!/bin/sh
|
|
|
|
if [[ "$1" == "${CMAKE_CXX_COMPILER}" ]] ; then
|
|
shift
|
|
fi
|
|
|
|
export CCACHE_CPP2=true
|
|
export CCACHE_DEPEND=true
|
|
export CCACHE_DIRECT=true
|
|
export CCACHE_FILECLONE=true
|
|
export CCACHE_INODECACHE=true
|
|
export CCACHE_SLOPPINESS="modules,include_file_mtime,include_file_ctime,pch_defines,clang_index_store,system_headers"
|
|
exec "${CMAKE_CXX_COMPILER_LAUNCHER}" "${CMAKE_CXX_COMPILER}" "$@"
|