[Lldb-commits] [PATCH] D47278: Remove lldb-private headers when building LLDB.framework with CMake

Alex Langford via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed May 23 15:31:53 PDT 2018


xiaobai updated this revision to Diff 148305.
xiaobai added a comment.

Remove SystemInitializerFull.h from framework headers


https://reviews.llvm.org/D47278

Files:
  source/API/CMakeLists.txt


Index: source/API/CMakeLists.txt
===================================================================
--- source/API/CMakeLists.txt
+++ source/API/CMakeLists.txt
@@ -162,8 +162,9 @@
 endif()
 
 if(LLDB_BUILD_FRAMEWORK)
-  file(GLOB public_headers ${LLDB_SOURCE_DIR}/include/lldb/API/*.h
-      ${LLDB_SOURCE_DIR}/include/lldb/lldb-*.h)
+  file(GLOB public_headers ${LLDB_SOURCE_DIR}/include/lldb/API/*.h)
+  list(REMOVE_ITEM public_headers
+    ${LLDB_SOURCE_DIR}/include/lldb/API/SystemInitializerFull.h)
   file(GLOB root_public_headers ${LLDB_SOURCE_DIR}/include/lldb/lldb-*.h)
   file(GLOB root_private_headers ${LLDB_SOURCE_DIR}/include/lldb/lldb-private*.h)
   list(REMOVE_ITEM root_public_headers ${root_private_headers})


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47278.148305.patch
Type: text/x-patch
Size: 728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180523/dde36cb1/attachment.bin>


More information about the lldb-commits mailing list