2015-10-21 02:12:12 +08:00
|
|
|
create_subdirectory_options(CLANG TOOL)
|
2013-08-22 23:50:02 +08:00
|
|
|
|
2015-10-21 02:12:12 +08: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)
|
2014-07-15 06:17:16 +08:00
|
|
|
|
2013-08-22 23:50:02 +08:00
|
|
|
if(CLANG_ENABLE_ARCMT)
|
2015-10-21 02:12:12 +08:00
|
|
|
add_clang_subdirectory(arcmt-test)
|
|
|
|
add_clang_subdirectory(c-arcmt-test)
|
2013-08-22 23:50:02 +08:00
|
|
|
endif()
|
2014-07-17 00:48:33 +08:00
|
|
|
|
2013-07-04 00:20:29 +08:00
|
|
|
if(CLANG_ENABLE_STATIC_ANALYZER)
|
2015-10-21 02:12:12 +08:00
|
|
|
add_clang_subdirectory(clang-check)
|
2016-01-13 10:03:50 +08:00
|
|
|
add_clang_subdirectory(scan-build)
|
|
|
|
add_clang_subdirectory(scan-view)
|
2013-07-04 00:20:29 +08:00
|
|
|
endif()
|
2012-08-07 16:37:42 +08: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-10-10 21:46:18 +08:00
|
|
|
# It also may be included by LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR.
|
|
|
|
add_llvm_external_project(clang-tools-extra extra)
|
2016-03-03 19:09:43 +08:00
|
|
|
|
|
|
|
# libclang may require clang-tidy in clang-tools-extra.
|
|
|
|
add_clang_subdirectory(libclang)
|