[PATCH] D13206: Add clang-query tool to installation targets

Evangelos Foutras via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 28 02:50:52 PDT 2015


foutrelis created this revision.
foutrelis added a subscriber: cfe-commits.

It has been requested in a bug report downstream in Arch Linux to include the clang-query tool as part of our clang-tools-extra package. [1]

This point has also been brought up on the cfe-dev list and the LLVM bug tracker. [2] [3]

This diff is an attempt at upstreaming this change. Note that it only deals with clang-query since I'm not sure what other tools would be useful to install.

[1] https://bugs.archlinux.org/task/46392#comment139256
[2] http://lists.llvm.org/pipermail/cfe-dev/2015-June/043318.html
[3] https://llvm.org/bugs/show_bug.cgi?id=24046

http://reviews.llvm.org/D13206

Files:
  clang-query/tool/CMakeLists.txt

Index: clang-query/tool/CMakeLists.txt
===================================================================
--- clang-query/tool/CMakeLists.txt
+++ clang-query/tool/CMakeLists.txt
@@ -10,3 +10,5 @@
   clangQuery
   clangTooling
   )
+
+install(TARGETS clang-query RUNTIME DESTINATION bin)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13206.35847.patch
Type: text/x-patch
Size: 288 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150928/6e12c919/attachment.bin>


More information about the cfe-commits mailing list