1set(LLVM_LINK_COMPONENTS 2 Option 3 Support 4 ) 5 6add_clang_tool(clang-rename 7 ClangRename.cpp 8 ) 9 10clang_target_link_libraries(clang-rename 11 PRIVATE 12 clangBasic 13 clangFrontend 14 clangRewrite 15 clangSerialization 16 clangTooling 17 clangToolingCore 18 clangToolingRefactoring 19 ) 20 21install(PROGRAMS clang-rename.py 22 DESTINATION share/clang 23 COMPONENT clang-rename) 24install(PROGRAMS clang-rename.el 25 DESTINATION share/clang 26 COMPONENT clang-rename) 27