summaryrefslogtreecommitdiff
path: root/unittests/Rename/CMakeLists.txt
blob: 1c50fde37d9851d92cf7cb47b66c729b2f43d177 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
  RenameFunctionTest.cpp
  )

target_link_libraries(ClangRenameTests
  clangAST
  clangASTMatchers
  clangBasic
  clangFormat
  clangFrontend
  clangRewrite
  clangTooling
  clangToolingCore
  clangToolingRefactor
  )