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/
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
+)
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to