comparison clang-tools-extra/CMakeLists.txt @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children 2e18cbf3894f
comparison
equal deleted inserted replaced
147:c2174574ed3a 150:1d019706d866
1 include(CMakeDependentOption)
2
3 add_subdirectory(clang-apply-replacements)
4 add_subdirectory(clang-reorder-fields)
5 add_subdirectory(modularize)
6 add_subdirectory(clang-tidy)
7
8 add_subdirectory(clang-change-namespace)
9 add_subdirectory(clang-doc)
10 add_subdirectory(clang-include-fixer)
11 add_subdirectory(clang-move)
12 add_subdirectory(clang-query)
13 add_subdirectory(pp-trace)
14 add_subdirectory(tool-template)
15
16 # Add the common testsuite after all the tools.
17 if(CLANG_INCLUDE_TESTS)
18 add_subdirectory(test)
19 add_subdirectory(unittests)
20 endif()
21
22 option(CLANG_TOOLS_EXTRA_INCLUDE_DOCS "Generate build targets for the Clang Extra Tools docs."
23 ${LLVM_INCLUDE_DOCS})
24 if( CLANG_TOOLS_EXTRA_INCLUDE_DOCS )
25 add_subdirectory(docs)
26 endif()
27
28 # clangd has its own CMake tree. It requires threads.
29 CMAKE_DEPENDENT_OPTION(CLANG_ENABLE_CLANGD "Build clangd language server" ON
30 "LLVM_ENABLE_THREADS" OFF)
31 if (CLANG_ENABLE_CLANGD)
32 add_subdirectory(clangd)
33 endif()