[OpenACC] Enable 'attach' clause for combined constructs
[llvm-project.git] / clang-tools-extra / unittests / clang-include-fixer / CMakeLists.txt
blob0c0954c2a7cd2584ee14e871c949954d5aa45453
1 set(LLVM_LINK_COMPONENTS
2   support
3   )
5 get_filename_component(INCLUDE_FIXER_SOURCE_DIR
6   ${CMAKE_CURRENT_SOURCE_DIR}/../../clang-include-fixer REALPATH)
7 include_directories(
8   ${INCLUDE_FIXER_SOURCE_DIR}
9   )
11 # We'd like to clang/unittests/Tooling/RewriterTestContext.h in the test.
12 include_directories(${CLANG_SOURCE_DIR})
14 add_extra_unittest(ClangIncludeFixerTests
15   IncludeFixerTest.cpp
16   FuzzySymbolIndexTests.cpp
17   )
19 clang_target_link_libraries(ClangIncludeFixerTests
20   PRIVATE
21   clangBasic
22   clangFormat
23   clangFrontend
24   clangRewrite
25   clangSerialization
26   clangTooling
27   clangToolingCore
28   )
29 target_link_libraries(ClangIncludeFixerTests
30   PRIVATE
31   clangIncludeFixer
32   findAllSymbols
33   )
35 add_subdirectory(find-all-symbols)