[PATCH] [libcxxabi] Install header files

Greg Fitzgerald garious at gmail.com
Thu Feb 5 11:58:10 PST 2015


Hi danalbert,

Without this patch, libcxx needs to point to libcxxabi's source directory for its headers and its install directory for its compiled library.  We can simplify libcxx's build configuration if libcxxabi adds its public headers to the install directory.

This patch adds a CMake rule to install the headers to the same location they appear on OS X.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7446

Files:
  CMakeLists.txt

Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -315,3 +315,10 @@
 else()
   add_subdirectory(test)
 endif()
+
+install(DIRECTORY include/
+  DESTINATION include
+  FILES_MATCHING
+    PATTERN "*.h"
+    PATTERN ".svn" EXCLUDE
+)

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7446.19423.patch
Type: text/x-patch
Size: 313 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150205/b9318741/attachment.bin>


More information about the cfe-commits mailing list