2015-12-30 11:49:41 +00:00
|
|
|
create_subdirectory_options(CLANG TOOL)
|
2014-11-24 09:15:30 +00:00
|
|
|
|
2015-12-30 11:49:41 +00:00
|
|
|
add_clang_subdirectory(diagtool)
|
|
|
|
add_clang_subdirectory(driver)
|
|
|
|
add_clang_subdirectory(clang-format)
|
|
|
|
add_clang_subdirectory(clang-format-vs)
|
|
|
|
add_clang_subdirectory(clang-fuzzer)
|
|
|
|
|
|
|
|
add_clang_subdirectory(c-index-test)
|
2013-12-22 00:07:40 +00:00
|
|
|
|
|
|
|
if(CLANG_ENABLE_ARCMT)
|
2015-12-30 11:49:41 +00:00
|
|
|
add_clang_subdirectory(arcmt-test)
|
|
|
|
add_clang_subdirectory(c-arcmt-test)
|
2013-12-22 00:07:40 +00:00
|
|
|
endif()
|
2014-11-24 09:15:30 +00:00
|
|
|
|
2013-12-22 00:07:40 +00:00
|
|
|
if(CLANG_ENABLE_STATIC_ANALYZER)
|
2015-12-30 11:49:41 +00:00
|
|
|
add_clang_subdirectory(clang-check)
|
2016-01-13 20:00:46 +00:00
|
|
|
add_clang_subdirectory(scan-build)
|
|
|
|
add_clang_subdirectory(scan-view)
|
2013-12-22 00:07:40 +00:00
|
|
|
endif()
|
2012-08-15 20:02:54 +00:00
|
|
|
|
|
|
|
# We support checking out the clang-tools-extra repository into the 'extra'
|
|
|
|
# subdirectory. It contains tools developed as part of the Clang/LLVM project
|
|
|
|
# on top of the Clang tooling platform. We keep them in a separate repository
|
|
|
|
# to keep the primary Clang repository small and focused.
|
2012-12-02 13:20:44 +00:00
|
|
|
# It also may be included by LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR.
|
|
|
|
add_llvm_external_project(clang-tools-extra extra)
|
2016-07-23 20:44:14 +00:00
|
|
|
|
|
|
|
# libclang may require clang-tidy in clang-tools-extra.
|
|
|
|
add_clang_subdirectory(libclang)
|