[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang-tools-extra / include-cleaner / unittests / CMakeLists.txt
blob1e89534b511161bf18b316c9c6619fa4a70378b5
1 set(LLVM_LINK_COMPONENTS
2   Support
3   TestingSupport
4   )
6 add_custom_target(ClangIncludeCleanerUnitTests)
7 add_unittest(ClangIncludeCleanerUnitTests ClangIncludeCleanerTests
8   AnalysisTest.cpp
9   FindHeadersTest.cpp
10   IncludeSpellerTest.cpp
11   LocateSymbolTest.cpp
12   RecordTest.cpp
13   TypesTest.cpp
14   WalkASTTest.cpp
17 target_include_directories(ClangIncludeCleanerTests
18   PRIVATE
19   ${CMAKE_CURRENT_SOURCE_DIR}/../lib)
21 clang_target_link_libraries(ClangIncludeCleanerTests
22   PRIVATE
23   clangAST
24   clangBasic
25   clangFrontend
26   clangFormat
27   clangLex
28   clangSerialization
29   clangToolingInclusionsStdlib
30   )
32 target_link_libraries(ClangIncludeCleanerTests
33   PRIVATE
34   clangIncludeCleaner
35   clangTesting
36   LLVMTestingAnnotations
37   LLVMTestingSupport
38   )