[PATCH] D73236: [clang-tidy] Add clang-tidy headers to clang distribution

Dmitry Polukhin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 22 17:05:15 PST 2020


DmitryPolukhin updated this revision to Diff 239741.
DmitryPolukhin added a comment.
Herald added a subscriber: mgehre.

- moved header installation to clang-tidy cmake file


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73236/new/

https://reviews.llvm.org/D73236

Files:
  clang-tools-extra/clang-tidy/CMakeLists.txt


Index: clang-tools-extra/clang-tidy/CMakeLists.txt
===================================================================
--- clang-tools-extra/clang-tidy/CMakeLists.txt
+++ clang-tools-extra/clang-tidy/CMakeLists.txt
@@ -94,3 +94,12 @@
 add_subdirectory(plugin)
 add_subdirectory(tool)
 add_subdirectory(utils)
+
+if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
+  install(DIRECTORY .
+    DESTINATION include/clang-tidy
+    FILES_MATCHING
+    PATTERN "*.h"
+    PATTERN ".svn" EXCLUDE
+    )
+endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73236.239741.patch
Type: text/x-patch
Size: 491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200123/3b80c651/attachment.bin>


More information about the cfe-commits mailing list