]> granicus.if.org Git - clang/blob - tools/CMakeLists.txt
CMake: enable building the clang-format vs plugin
[clang] / tools / CMakeLists.txt
1 add_subdirectory(diagtool)
2 add_subdirectory(driver)
3 if(CLANG_ENABLE_REWRITER)
4   add_subdirectory(clang-format)
5   add_subdirectory(clang-format-vs)
6 endif()
7
8 if(CLANG_ENABLE_ARCMT)
9   add_subdirectory(libclang)
10   add_subdirectory(c-index-test)
11   add_subdirectory(arcmt-test)
12   add_subdirectory(c-arcmt-test)
13 endif()
14 if(CLANG_ENABLE_STATIC_ANALYZER)
15   add_subdirectory(clang-check)
16 endif()
17
18 # We support checking out the clang-tools-extra repository into the 'extra'
19 # subdirectory. It contains tools developed as part of the Clang/LLVM project
20 # on top of the Clang tooling platform. We keep them in a separate repository
21 # to keep the primary Clang repository small and focused.
22 # It also may be included by LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR.
23 add_llvm_external_project(clang-tools-extra extra)