Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CMakeLists.txt « clang-apply-replacements « unittests « clang-tools-extra - github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9da1410178c2a077309660c6c615c3647e848277 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
set(LLVM_LINK_COMPONENTS
  asmparser
  bitreader
  support
  mc
  )

get_filename_component(ClangApplyReplacementsLocation
  "${CMAKE_CURRENT_SOURCE_DIR}/../../clang-apply-replacements/include" REALPATH)
get_filename_component(CommonIncLocation
  "${CMAKE_CURRENT_SOURCE_DIR}/../include" REALPATH)
include_directories(
  ${ClangApplyReplacementsLocation}
  ${CommonIncLocation}
  )

add_extra_unittest(ClangApplyReplacementsTests
  ReformattingTest.cpp
  )

target_link_libraries(ClangApplyReplacementsTests
  clangApplyReplacements
  )