aboutsummaryrefslogtreecommitdiff
path: root/clang-format
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-12-27 17:48:37 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-12-27 17:48:37 +0000
commitc434bf1ef74f3216b6edc38d2e835ea9669f6b4d (patch)
tree56135917502d036c746eed73d2f964360a0035be /clang-format
parentbb852302bdb56983a957acf133b870d4a36a8bd4 (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.txt4
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)
+