[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang-tools-extra / unittests / clang-apply-replacements / CMakeLists.txt
blobb345527fe956c961366c3c6cc99ad87e3e78cad5
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   )
10 add_extra_unittest(ClangApplyReplacementsTests
11   ApplyReplacementsTest.cpp
12   )
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   )