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