[Lldb-commits] [PATCH] D68040: [lldb] Excludes private headers from SWIG dependency.

Haibo Huang via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 25 11:16:31 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL372905: [lldb] Excludes private headers from SWIG dependency. (authored by hhb, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D68040?vs=221807&id=221809#toc

Repository:
  rL LLVM

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

https://reviews.llvm.org/D68040

Files:
  lldb/trunk/scripts/CMakeLists.txt


Index: lldb/trunk/scripts/CMakeLists.txt
===================================================================
--- lldb/trunk/scripts/CMakeLists.txt
+++ lldb/trunk/scripts/CMakeLists.txt
@@ -4,6 +4,12 @@
   ${LLDB_SOURCE_DIR}/include/lldb/API/*.h
   ${LLDB_SOURCE_DIR}/include/lldb/*.h
 )
+file(GLOB SWIG_PRIVATE_HEADERS
+  ${LLDB_SOURCE_DIR}/include/lldb/lldb-private*.h
+)
+foreach(private_header ${SWIG_PRIVATE_HEADERS})
+  list(REMOVE_ITEM SWIG_HEADERS ${private_header})
+endforeach()
 
 if(LLDB_BUILD_FRAMEWORK)
   set(framework_arg --framework --target-platform Darwin)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68040.221809.patch
Type: text/x-patch
Size: 575 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190925/ad11f657/attachment.bin>


More information about the lldb-commits mailing list