diff --git a/index.yaml b/index.yaml index 3cb4cb9..927823a 100644 --- a/index.yaml +++ b/index.yaml @@ -12,6 +12,7 @@ mixin: - memcheck.mixin - mold.mixin - ninja.mixin + - sccache.mixin - shared.mixin - test-linters.mixin - tsan.mixin diff --git a/sccache.mixin b/sccache.mixin new file mode 100644 index 0000000..63454a3 --- /dev/null +++ b/sccache.mixin @@ -0,0 +1,10 @@ +{ + "build": { + "sccache": { + "cmake-args": [ + "-DCMAKE_C_COMPILER_LAUNCHER=sccache", + "-DCMAKE_CXX_COMPILER_LAUNCHER=sccache" + ] + } + } +}