1 | create_subdirectory_options(CLANG TOOL) |
2 | |
3 | add_clang_subdirectory(diagtool) |
4 | add_clang_subdirectory(driver) |
5 | add_clang_subdirectory(clang-diff) |
6 | add_clang_subdirectory(clang-format) |
7 | add_clang_subdirectory(clang-format-vs) |
8 | add_clang_subdirectory(clang-fuzzer) |
9 | add_clang_subdirectory(clang-import-test) |
10 | add_clang_subdirectory(clang-offload-bundler) |
11 | |
12 | add_clang_subdirectory(c-index-test) |
13 | |
14 | add_clang_subdirectory(clang-rename) |
15 | add_clang_subdirectory(clang-refactor) |
16 | |
17 | if(CLANG_ENABLE_ARCMT) |
18 | add_clang_subdirectory(arcmt-test) |
19 | add_clang_subdirectory(c-arcmt-test) |
20 | endif() |
21 | |
22 | if(CLANG_ENABLE_STATIC_ANALYZER) |
23 | add_clang_subdirectory(clang-check) |
24 | add_clang_subdirectory(clang-extdef-mapping) |
25 | add_clang_subdirectory(scan-build) |
26 | add_clang_subdirectory(scan-view) |
27 | endif() |
28 | |
29 | # We support checking out the clang-tools-extra repository into the 'extra' |
30 | # subdirectory. It contains tools developed as part of the Clang/LLVM project |
31 | # on top of the Clang tooling platform. We keep them in a separate repository |
32 | # to keep the primary Clang repository small and focused. |
33 | # It also may be included by LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR. |
34 | add_llvm_external_project(clang-tools-extra extra) |
35 | |
36 | # libclang may require clang-tidy in clang-tools-extra. |
37 | add_clang_subdirectory(libclang) |
38 | |