[clang-refactor] Use add_clang_tool CMake template
authorPetr Hosek <phosek@chromium.org>
Wed, 25 Oct 2017 01:11:27 +0000 (01:11 +0000)
committerPetr Hosek <phosek@chromium.org>
Wed, 25 Oct 2017 01:11:27 +0000 (01:11 +0000)
commit3cad20023b009d5416ff1e7bed1f7aa697741002
tree751e1c413c8dc30bb6e154211264407125e62b6f
parenta13293829586320e31021c2c9369c98994a30a69
[clang-refactor] Use add_clang_tool CMake template

This allows including clang-refactor in LLVM_DISTRIBUTION_COMPONENTS
to build clang-refactor as part of the toolchain distribution.

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

llvm-svn: 316540
clang/tools/clang-refactor/CMakeLists.txt