some regular files(e.g. files have no shebang and no execute bit in source dir) are wrongly assigned an execution permission, such as scanview.css and ear.c from libscanbuild, which is unnecessary and introduces warnings in some envs. Reviewed By: MaskRay, phosek Differential Revision: https://reviews.llvm.org/D133308
27 lines
487 B
CMake
27 lines
487 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Option
|
|
Support
|
|
)
|
|
|
|
add_clang_tool(clang-rename
|
|
ClangRename.cpp
|
|
)
|
|
|
|
clang_target_link_libraries(clang-rename
|
|
PRIVATE
|
|
clangBasic
|
|
clangFrontend
|
|
clangRewrite
|
|
clangSerialization
|
|
clangTooling
|
|
clangToolingCore
|
|
clangToolingRefactoring
|
|
)
|
|
|
|
install(FILES clang-rename.py
|
|
DESTINATION "${CMAKE_INSTALL_DATADIR}/clang"
|
|
COMPONENT clang-rename)
|
|
install(FILES clang-rename.el
|
|
DESTINATION "${CMAKE_INSTALL_DATADIR}/clang"
|
|
COMPONENT clang-rename)
|