Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions clang-tools-extra/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,7 @@ add_lit_testsuite(check-clang-extra "Running clang-tools-extra/test"

add_lit_testsuites(CLANG-EXTRA ${CMAKE_CURRENT_SOURCE_DIR}
DEPENDS ${CLANG_TOOLS_TEST_DEPS}
SKIP "^clang-doc"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not something that needs to be done in this patch, but I think we should consider adding CMakeLists.txt files for all other subdirectories and then remove this target altogether.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about this as well. I opened #165820. I thought about closing it after merging this but I might keep it open. I don't know how tied the other projects are to that target and CMake file.

)

add_subdirectory(clang-doc)
7 changes: 7 additions & 0 deletions clang-tools-extra/test/clang-doc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Specialize the clang-doc target to avoid building other projects
add_lit_testsuite(check-clang-extra-clang-doc "Running clang-doc tests"
${CMAKE_CURRENT_BINARY_DIR}
EXCLUDE_FROM_CHECK_ALL
DEPENDS clang-doc
DEPENDS ${LLVM_UTILS_DEPS}
)