forked from OSchip/llvm-project
31 lines
509 B
CMake
31 lines
509 B
CMake
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)
|