[clang-rename] Use add_clang_tool
authorShoaib Meenai <smeenai@fb.com>
Thu, 2 Nov 2017 01:11:40 +0000 (01:11 +0000)
committerShoaib Meenai <smeenai@fb.com>
Thu, 2 Nov 2017 01:11:40 +0000 (01:11 +0000)
commit30e182d45406eea4c614e3dcc8128a101533f939
tree3d528a424e3e03984060ab57f5773cabb8a92fc9
parentc40419d94b1d00d66a977c9e37e853b9a54c5663
[clang-rename] Use add_clang_tool

`add_clang_tool` includes a call to `add_clang_executable`, but it also
sets up the install rule, and adds an `install-*` target. The latter is
required for using `LLVM_DISTRIBUTION_COMPONENTS`.

Differential Revision: https://reviews.llvm.org/D39522

llvm-svn: 317150
clang/tools/clang-rename/CMakeLists.txt