d3200d76b083765650adcc06c9b5d8cccf7be9b7
[lldb.git] / clang-tools-extra / unittests / clang-apply-replacements / CMakeLists.txt
1 get_filename_component(ClangApplyReplacementsLocation
2   "${CMAKE_CURRENT_SOURCE_DIR}/../../clang-apply-replacements/include" REALPATH)
3 get_filename_component(CommonIncLocation
4   "${CMAKE_CURRENT_SOURCE_DIR}/../include" REALPATH)
5 include_directories(
6   ${ClangApplyReplacementsLocation}
7   ${CommonIncLocation}
8   )
9
10 add_extra_unittest(ClangApplyReplacementsTests
11   ApplyReplacementsTest.cpp
12   )
13
14 target_link_libraries(ClangApplyReplacementsTests
15   PRIVATE
16   clangApplyReplacements
17   clangBasic
18   clangToolingCore
19   clangToolingRefactoring
20   )