2017-07-01 01:15:48 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
|
|
Option
|
|
|
|
Support
|
|
|
|
)
|
|
|
|
|
2014-10-13 19:30:27 +08:00
|
|
|
add_clang_executable(clang-rename ClangRename.cpp)
|
|
|
|
|
|
|
|
target_link_libraries(clang-rename
|
|
|
|
clangBasic
|
|
|
|
clangFrontend
|
|
|
|
clangRewrite
|
2014-10-30 08:43:33 +08:00
|
|
|
clangTooling
|
2016-06-28 14:08:10 +08:00
|
|
|
clangToolingCore
|
2017-07-01 00:36:09 +08:00
|
|
|
clangToolingRefactor
|
2014-10-30 08:43:33 +08:00
|
|
|
)
|
2014-10-13 19:30:27 +08:00
|
|
|
|
|
|
|
install(TARGETS clang-rename RUNTIME DESTINATION bin)
|
2016-08-02 16:51:26 +08:00
|
|
|
|
|
|
|
install(PROGRAMS clang-rename.py
|
|
|
|
DESTINATION share/clang
|
|
|
|
COMPONENT clang-rename)
|
|
|
|
install(PROGRAMS clang-rename.el
|
|
|
|
DESTINATION share/clang
|
|
|
|
COMPONENT clang-rename)
|