1get_filename_component(ClangApplyReplacementsLocation
2  "${CMAKE_CURRENT_SOURCE_DIR}/../../clang-apply-replacements/include" REALPATH)
3get_filename_component(CommonIncLocation
4  "${CMAKE_CURRENT_SOURCE_DIR}/../include" REALPATH)
5include_directories(
6  ${ClangApplyReplacementsLocation}
7  ${CommonIncLocation}
8  )
9
10add_extra_unittest(ClangApplyReplacementsTests
11  ApplyReplacementsTest.cpp
12  )
13
14clang_target_link_libraries(ClangApplyReplacementsTests
15  PRIVATE
16  clangBasic
17  clangToolingCore
18  clangToolingRefactoring
19  )
20target_link_libraries(ClangApplyReplacementsTests
21  PRIVATE
22  clangApplyReplacements
23  )
24