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