llvm-for-llvmta/tools/clang/unittests/ASTMatchers/CMakeLists.txt

31 lines
509 B
CMake
Raw Normal View History

2022-04-25 13:02:35 +02:00
set(LLVM_LINK_COMPONENTS
FrontendOpenMP
Support
)
add_clang_unittest(ASTMatchersTests
ASTMatchersInternalTest.cpp
ASTMatchersNodeTest.cpp
ASTMatchersNarrowingTest.cpp
ASTMatchersTraversalTest.cpp
GtestMatchersTest.cpp
)
clang_target_link_libraries(ASTMatchersTests
PRIVATE
clangAST
clangASTMatchers
clangBasic
clangFrontend
clangSerialization
clangTesting
clangTooling
)
target_link_libraries(ASTMatchersTests
PRIVATE
LLVMTestingSupport
)
add_subdirectory(Dynamic)