Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / tools / clang-rename / CMakeLists.txt
blobf4c4e520520d9e0d26dff6b3f31475026fee366c
1 set(LLVM_LINK_COMPONENTS
2   Option
3   Support
4   )
6 add_clang_tool(clang-rename
7   ClangRename.cpp
8   )
10 clang_target_link_libraries(clang-rename
11   PRIVATE
12   clangBasic
13   clangFrontend
14   clangRewrite
15   clangSerialization
16   clangTooling
17   clangToolingCore
18   clangToolingRefactoring
19   )
21 install(FILES clang-rename.py
22   DESTINATION "${CMAKE_INSTALL_DATADIR}/clang"
23   COMPONENT clang-rename)
24 install(FILES clang-rename.el
25   DESTINATION "${CMAKE_INSTALL_DATADIR}/clang"
26   COMPONENT clang-rename)