[CMake] Add install-clang-format target by migrating to add_clang_tool
authorChris Bieneman <beanz@apple.com>
Tue, 23 Feb 2016 20:33:15 +0000 (20:33 +0000)
committerChris Bieneman <beanz@apple.com>
Tue, 23 Feb 2016 20:33:15 +0000 (20:33 +0000)
commit5b21af5222229fa4ec40e1d7795352087276c1fa
treec4d025549fdca7c043c68014764d040fadf35d04
parentb9edc5ca21a63960ef1d6a229974592bccd7f429
[CMake] Add install-clang-format target by migrating to add_clang_tool

This change migrates clang-format to add_clang_tool which makes a component-based install target. To support component-based installation the extra installed scripts all need to have the "clang-format" component too.

llvm-svn: 261680
clang/tools/clang-format/CMakeLists.txt