2013-09-03 21:58:19 +04:00
|
|
|
add_subdirectory(clang-apply-replacements)
|
2014-08-20 05:39:05 +04:00
|
|
|
add_subdirectory(clang-rename)
|
2013-09-04 21:35:07 +04:00
|
|
|
add_subdirectory(modularize)
|
2014-07-15 02:15:29 +04:00
|
|
|
if(CLANG_ENABLE_STATIC_ANALYZER)
|
|
|
|
add_subdirectory(clang-tidy)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_subdirectory(clang-query)
|
|
|
|
add_subdirectory(pp-trace)
|
2013-09-04 21:35:07 +04:00
|
|
|
add_subdirectory(tool-template)
|
2012-08-07 12:33:04 +04:00
|
|
|
|
|
|
|
# Add the common testsuite after all the tools.
|
2014-07-15 02:15:29 +04:00
|
|
|
# TODO: Support tests with more granularity when features are off?
|
2015-10-02 02:50:06 +03:00
|
|
|
if(CLANG_ENABLE_STATIC_ANALYZER AND CLANG_INCLUDE_TESTS)
|
2012-08-07 12:33:04 +04:00
|
|
|
add_subdirectory(test)
|
2013-04-03 19:11:08 +04:00
|
|
|
add_subdirectory(unittests)
|
2014-07-15 02:15:29 +04:00
|
|
|
endif()
|
2016-01-27 14:37:08 +03:00
|
|
|
|
|
|
|
option(CLANG_TOOLS_EXTRA_INCLUDE_DOCS "Generate build targets for the Clang Extra Tools docs."
|
|
|
|
${LLVM_INCLUDE_DOCS})
|
|
|
|
if( CLANG_TOOLS_EXTRA_INCLUDE_DOCS )
|
|
|
|
add_subdirectory(docs)
|
|
|
|
endif()
|
|
|
|
|