Files
clang-p2996/clang/unittests/Tooling/Syntax/CMakeLists.txt
Jordan Rupprecht 3432f4bf86 [test] Split out Annotations from TestingSupport
The Annotations helper class does not have a gtest or gmock dependency, but because it's bundled with the rest of TestingSupport, it gets one. By splitting it out, a target can use it without being forced to use LLVM's copy of gtest.

Reviewed By: GMNGeoffrey, sammccall, gribozavr2

Differential Revision: https://reviews.llvm.org/D141175
2023-01-12 13:40:47 -08:00

32 lines
474 B
CMake

set(LLVM_LINK_COMPONENTS
Support
)
add_clang_unittest(SyntaxTests
TreeTestBase.cpp
BuildTreeTest.cpp
MutationsTest.cpp
SynthesisTest.cpp
TreeTest.cpp
TokensTest.cpp
)
clang_target_link_libraries(SyntaxTests
PRIVATE
clangAST
clangBasic
clangFrontend
clangLex
clangSerialization
clangTooling
clangToolingCore
clangToolingSyntax
)
target_link_libraries(SyntaxTests
PRIVATE
clangTesting
LLVMTestingAnnotations
LLVMTestingSupport
)