diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-12-27 17:48:37 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-12-27 17:48:37 +0000 |
commit | c434bf1ef74f3216b6edc38d2e835ea9669f6b4d (patch) | |
tree | 56135917502d036c746eed73d2f964360a0035be /clang-format | |
parent | bb852302bdb56983a957acf133b870d4a36a8bd4 (diff) |
Teach the extras repository to actually install the clang-format tool.
We should also install the clang-format.py script somewhere that makes
since for a Vim integration script. I don't know where that is though,
so just installing the binary for now. This is enough to let me use the
script from a checkout combined with the installed (and thus less likely
to crash or be slow) clang-format binary.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@171164 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'clang-format')
-rw-r--r-- | clang-format/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang-format/CMakeLists.txt b/clang-format/CMakeLists.txt index 218e52ab..c86a9208 100644 --- a/clang-format/CMakeLists.txt +++ b/clang-format/CMakeLists.txt @@ -11,3 +11,7 @@ target_link_libraries(clang-format clangBasic clangRewriteFrontend ) + +install(TARGETS clang-format + RUNTIME DESTINATION bin) + |