summaryrefslogtreecommitdiff
path: root/clang/unittests/Rename/CMakeLists.txt
blob: 6ec0c521551c618457ef418e2ef4d06bcf89a4b2 (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
26
27
28
29
set(LLVM_LINK_COMPONENTS
  FrontendOpenMP
  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
  )

clang_target_link_libraries(ClangRenameTests
  PRIVATE
  clangAST
  clangASTMatchers
  clangBasic
  clangFormat
  clangFrontend
  clangRewrite
  clangSerialization
  clangTooling
  clangToolingCore
  clangToolingRefactoring
  )