llvm-project/clang/unittests/Rename/CMakeLists.txt

28 lines
505 B
CMake

set(LLVM_LINK_COMPONENTS
support
)
# We'd like clang/unittests/Tooling/RewriterTestContext.h in the test.
include_directories(${CLANG_SOURCE_DIR})
add_clang_unittest(ClangRenameTests
RenameClassTest.cpp
RenameEnumTest.cpp
RenameAliasTest.cpp
RenameMemberTest.cpp
RenameFunctionTest.cpp
)
target_link_libraries(ClangRenameTests
PRIVATE
clangAST
clangASTMatchers
clangBasic
clangFormat
clangFrontend
clangRewrite
clangTooling
clangToolingCore
clangToolingRefactor
)