[cfe-commits] [clang-tools-extra] r171164 - /clang-tools-extra/trunk/clang-format/CMakeLists.txt

Chandler Carruth chandlerc at gmail.com
Thu Dec 27 09:48:37 PST 2012


Author: chandlerc
Date: Thu Dec 27 11:48:37 2012
New Revision: 171164

URL: http://llvm.org/viewvc/llvm-project?rev=171164&view=rev
Log:
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.

Modified:
    clang-tools-extra/trunk/clang-format/CMakeLists.txt

Modified: clang-tools-extra/trunk/clang-format/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-format/CMakeLists.txt?rev=171164&r1=171163&r2=171164&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-format/CMakeLists.txt (original)
+++ clang-tools-extra/trunk/clang-format/CMakeLists.txt Thu Dec 27 11:48:37 2012
@@ -11,3 +11,7 @@
   clangBasic
   clangRewriteFrontend
   )
+
+install(TARGETS clang-format
+  RUNTIME DESTINATION bin)
+





More information about the cfe-commits mailing list