mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
18 lines
466 B
Bash
18 lines
466 B
Bash
#!/bin/sh
|
|
|
|
if [[ "$1" == "${CMAKE_C_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_NOCOMPILERCHECK='content'
|
|
export CCACHE_SLOPPINESS='include_file_mtime,include_file_ctime,clang_index_store,system_headers'
|
|
if [[ "${CI}" ]]; then
|
|
export CCACHE_NOHASHDIR=true
|
|
fi
|
|
exec "${CMAKE_C_COMPILER_LAUNCHER}" "${CMAKE_C_COMPILER}" "$@"
|