25 lines
419 B
CMake
25 lines
419 B
CMake
|
set(LLVM_LINK_COMPONENTS
|
||
|
${LLVM_TARGETS_TO_BUILD}
|
||
|
asmparser
|
||
|
bitreader
|
||
|
support
|
||
|
mc
|
||
|
)
|
||
|
|
||
|
add_clang_unittest(ToolingTests
|
||
|
CommentHandlerTest.cpp
|
||
|
CompilationDatabaseTest.cpp
|
||
|
ToolingTest.cpp
|
||
|
RecursiveASTVisitorTest.cpp
|
||
|
RefactoringTest.cpp
|
||
|
RewriterTest.cpp
|
||
|
RefactoringCallbacksTest.cpp
|
||
|
ReplacementsYamlTest.cpp
|
||
|
)
|
||
|
|
||
|
target_link_libraries(ToolingTests
|
||
|
clangAST
|
||
|
clangTooling
|
||
|
clangRewriteCore
|
||
|
)
|