[PATCH] D39524: [libclang] Add dummy libclang-headers target

Shoaib Meenai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 1 18:14:06 PDT 2017


smeenai updated this revision to Diff 121223.
smeenai added a comment.

Better comment


https://reviews.llvm.org/D39524

Files:
  tools/libclang/CMakeLists.txt


Index: tools/libclang/CMakeLists.txt
===================================================================
--- tools/libclang/CMakeLists.txt
+++ tools/libclang/CMakeLists.txt
@@ -141,6 +141,11 @@
   PATTERN ".svn" EXCLUDE
   )
 
+# LLVM_DISTRIBUTION_COMPONENTS requires that each component have both a
+# component and an install-component target, so add a dummy libclang-headers
+# target to allow using it in LLVM_DISTRIBUTION_COMPONENTS.
+add_custom_target(libclang-headers)
+
 if (NOT CMAKE_CONFIGURATION_TYPES) # don't add this for IDE's.
   add_custom_target(install-libclang-headers
     DEPENDS


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39524.121223.patch
Type: text/x-patch
Size: 601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171102/03356a7e/attachment.bin>


More information about the cfe-commits mailing list