summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/clang-move/CMakeLists.txt
blob: fea15e17f87fa11b612be8bd443da5d6804a6ad2 (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
  support
  )

get_filename_component(INCLUDE_FIXER_SOURCE_DIR
  ${CMAKE_CURRENT_SOURCE_DIR}/../../clang-move REALPATH)
include_directories(
  ${INCLUDE_FIXER_SOURCE_DIR}
  )

# We'd like to clang/unittests/Tooling/RewriterTestContext.h in the test.
include_directories(${CLANG_SOURCE_DIR})

add_extra_unittest(ClangMoveTests
  ClangMoveTests.cpp
  )

target_link_libraries(ClangMoveTests
  PRIVATE
  clangAST
  clangASTMatchers
  clangBasic
  clangFormat
  clangFrontend
  clangMove
  clangRewrite
  clangTooling
  clangToolingCore
  )
OpenPOWER on IntegriCloud