This reverts commit 049f4e4eab.
The problem was a stray dependency in CLANG_TEST_DEPS which caused cmake
to fail if clang-pseudo wasn't built. This is now removed.
31 lines
449 B
CMake
31 lines
449 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
|
|
clangTesting
|
|
clangTooling
|
|
clangToolingCore
|
|
clangToolingSyntax
|
|
)
|
|
|
|
target_link_libraries(SyntaxTests
|
|
PRIVATE
|
|
LLVMTestingSupport
|
|
)
|