summaryrefslogtreecommitdiff
path: root/Toolchain/CMake/LLVMConfig.cmake
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2021-10-30 15:54:00 -0600
committerAndreas Kling <kling@serenityos.org>2021-11-14 22:52:35 +0100
commit6f5b9cc031e9d7d3034d5271fae246c5fe90041a (patch)
treee88b368fad49401ab3c77827f9888117816d3f2d /Toolchain/CMake/LLVMConfig.cmake
parent3eeca784d21dd38f633e3a135b7c9fd2210ebac2 (diff)
downloadserenity-6f5b9cc031e9d7d3034d5271fae246c5fe90041a.zip
Toolchain: Enable clang-tools-extra for LLVM
If we want to use clang-tidy on the codebase, we'll need to build clang-tidy from an LLVM that has been patched and built with Serenity cross-compilation support.
Diffstat (limited to 'Toolchain/CMake/LLVMConfig.cmake')
-rw-r--r--Toolchain/CMake/LLVMConfig.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Toolchain/CMake/LLVMConfig.cmake b/Toolchain/CMake/LLVMConfig.cmake
index ee9cd36e59..c89f0d1d08 100644
--- a/Toolchain/CMake/LLVMConfig.cmake
+++ b/Toolchain/CMake/LLVMConfig.cmake
@@ -4,7 +4,7 @@ set(CMAKE_BUILD_TYPE Release CACHE STRING "")
set(LLVM_TARGETS_TO_BUILD "X86;AArch64" CACHE STRING "")
-set(LLVM_ENABLE_PROJECTS "llvm;clang;lld" CACHE STRING "")
+set(LLVM_ENABLE_PROJECTS "llvm;clang;lld;clang-tools-extra" CACHE STRING "")
set(LLVM_ENABLE_RUNTIMES "compiler-rt" CACHE STRING "")
set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR ON CACHE BOOL "")