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)
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)
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits