Files
clang-p2996/clang/unittests/ASTMatchers/CMakeLists.txt
Reid Kleckner e3c0565b74 Reapply "[cmake] Refactor clang unittest cmake" (#134195)
This reapplies 5ffd9bdb50 (#133545) with fixes.

The BUILD_SHARED_LIBS=ON build was fixed by adding missing LLVM
dependencies to the InterpTests binary in
unittests/AST/ByteCode/CMakeLists.txt .
2025-04-02 21:07:30 -07:00

24 lines
425 B
CMake

add_clang_unittest(ASTMatchersTests
ASTMatchersInternalTest.cpp
ASTMatchersNodeTest.cpp
ASTMatchersNarrowingTest.cpp
ASTMatchersTraversalTest.cpp
GtestMatchersTest.cpp
CLANG_LIBS
clangAST
clangASTMatchers
clangBasic
clangFrontend
clangSerialization
clangTooling
LINK_LIBS
clangTesting
LLVMTestingSupport
LLVM_COMPONENTS
FrontendOpenMP
Support
TargetParser
)
add_subdirectory(Dynamic)