Add clang-reorder-fields to clang-tools-extra
[lldb.git] / clang-tools-extra / CMakeLists.txt
1 add_subdirectory(clang-apply-replacements)
2 add_subdirectory(clang-rename)
3 add_subdirectory(clang-reorder-fields)
4 add_subdirectory(modularize)
5 if(CLANG_ENABLE_STATIC_ANALYZER)
6 add_subdirectory(clang-tidy)
7 endif()
8
9 add_subdirectory(clang-query)
10 add_subdirectory(include-fixer)
11 add_subdirectory(pp-trace)
12 add_subdirectory(tool-template)
13
14 # Add the common testsuite after all the tools.
15 # TODO: Support tests with more granularity when features are off?
16 if(CLANG_ENABLE_STATIC_ANALYZER AND CLANG_INCLUDE_TESTS)
17 add_subdirectory(test)
18 add_subdirectory(unittests)
19 endif()
20
21 option(CLANG_TOOLS_EXTRA_INCLUDE_DOCS "Generate build targets for the Clang Extra Tools docs."
22   ${LLVM_INCLUDE_DOCS})
23 if( CLANG_TOOLS_EXTRA_INCLUDE_DOCS )
24   add_subdirectory(docs)
25 endif()
26