summaryrefslogtreecommitdiffstats
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
commit5826f96e510774c6176cf221a90e5334443bda62 (patch)
tree7c54ee6b2dcac91dea97f60bb68a168435e9226d
parentd8f265a5b8f924dd824b559c1dae5f3291262708 (diff)
downloadbcm5719-llvm-5826f96e510774c6176cf221a90e5334443bda62.tar.gz
bcm5719-llvm-5826f96e510774c6176cf221a90e5334443bda62.zip
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. llvm-svn: 171164
-rw-r--r--clang-tools-extra/clang-format/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-format/CMakeLists.txt b/clang-tools-extra/clang-format/CMakeLists.txt
index 218e52abab1..c86a920841c 100644
--- a/clang-tools-extra/clang-format/CMakeLists.txt
+++ b/clang-tools-extra/clang-format/CMakeLists.txt
@@ -11,3 +11,7 @@ target_link_libraries(clang-format
clangBasic
clangRewriteFrontend
)
+
+install(TARGETS clang-format
+ RUNTIME DESTINATION bin)
+
OpenPOWER on IntegriCloud