From f0a7192848ba5e80d88dd9aac2e2b24da08c5746 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Wed, 3 Jan 2024 14:17:25 -0700 Subject: [PATCH] Add mixin for Clang --- clang.mixin | 5 +++++ index.yaml | 1 + 2 files changed, 6 insertions(+) create mode 100644 clang.mixin diff --git a/clang.mixin b/clang.mixin new file mode 100644 index 0000000..f0bb858 --- /dev/null +++ b/clang.mixin @@ -0,0 +1,5 @@ +build: + clang: + cmake-args: + - "-DCMAKE_C_COMPILER=clang" + - "-DCMAKE_CXX_COMPILER=clang++" diff --git a/index.yaml b/index.yaml index 927823a..c4aee33 100644 --- a/index.yaml +++ b/index.yaml @@ -3,6 +3,7 @@ mixin: - build-testing.mixin - build-type.mixin - ccache.mixin + - clang.mixin - clang-libcxx.mixin - compile-commands.mixin - coverage.mixin