[PATCH] D68423: [clang-tools-extra] [cmake] Use add_clang_tool() to install tools

Michał Górny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 3 14:20:14 PDT 2019


mgorny created this revision.
mgorny added reviewers: compnerd, beanz, phosek, tstellar, smeenai, jtsoftware, hokein.

Replace add_clang_executable() calls with add_clang_tool() that takes
care of creating correct, distribution-friendly install target.  While
at it, remove redundant install calls.

This change also causes clang-move and pp-trace to be installed.


https://reviews.llvm.org/D68423

Files:
  clang-tools-extra/clang-apply-replacements/tool/CMakeLists.txt
  clang-tools-extra/clang-change-namespace/tool/CMakeLists.txt
  clang-tools-extra/clang-include-fixer/find-all-symbols/tool/CMakeLists.txt
  clang-tools-extra/clang-include-fixer/tool/CMakeLists.txt
  clang-tools-extra/clang-move/tool/CMakeLists.txt
  clang-tools-extra/clang-query/tool/CMakeLists.txt
  clang-tools-extra/pp-trace/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68423.223093.patch
Type: text/x-patch
Size: 3437 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191003/51df8364/attachment.bin>


More information about the cfe-commits mailing list