Debian Codegraph @

llvm-project/clang-tools-extra/unittests/clang-apply-replacements/CMakeLists.txt

raw
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 clang_target_link_libraries(ClangApplyReplacementsTests
15 PRIVATE
16 clangBasic
17 clangToolingCore
18 clangToolingRefactoring
19 )
20 target_link_libraries(ClangApplyReplacementsTests
21 PRIVATE
22 clangApplyReplacements
23 )