2017-03-10 18:30:14 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
|
|
support
|
|
|
|
)
|
|
|
|
|
|
|
|
# We'd like clang/unittests/Tooling/RewriterTestContext.h in the test.
|
|
|
|
include_directories(${CLANG_SOURCE_DIR})
|
|
|
|
|
2017-07-01 00:43:00 +08:00
|
|
|
add_clang_unittest(ClangRenameTests
|
2017-04-04 17:30:06 +08:00
|
|
|
RenameClassTest.cpp
|
2017-10-16 18:37:42 +08:00
|
|
|
RenameFunctionTest.cpp
|
2017-03-10 18:30:14 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(ClangRenameTests
|
|
|
|
clangAST
|
|
|
|
clangASTMatchers
|
|
|
|
clangBasic
|
|
|
|
clangFormat
|
|
|
|
clangFrontend
|
|
|
|
clangRewrite
|
|
|
|
clangTooling
|
|
|
|
clangToolingCore
|
2017-07-01 00:36:09 +08:00
|
|
|
clangToolingRefactor
|
2017-03-10 18:30:14 +08:00
|
|
|
)
|