summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/CMakeLists.txt
diff options
context:
space:
mode:
authorAlex Langford <apl@fb.com>2018-05-29 18:09:09 +0000
committerAlex Langford <apl@fb.com>2018-05-29 18:09:09 +0000
commit47039c460a68cd85fefa1154fd506593f2c2f888 (patch)
tree2619ad72abeb3830259a810a04e343178ab81893 /lldb/source/API/CMakeLists.txt
parent64c6ab445e9a59e7f97cf4cbf342db070979a6f5 (diff)
downloadbcm5719-llvm-47039c460a68cd85fefa1154fd506593f2c2f888.tar.gz
bcm5719-llvm-47039c460a68cd85fefa1154fd506593f2c2f888.zip
Remove lldb-private headers when building LLDB.framework with CMake
Summary: Generating LLDB.framework when building with CMake+Ninja will copy the lldb-private headers because public_headers contains them, even though we try to make sure they don't get copied by removing root_private_headers from root_public_headers. This patch also removes SystemInitializerFull.h from the LLDB.framework headers when building with CMake. Reviewers: compnerd, sas, labath, beanz, zturner Reviewed By: labath Subscribers: clayborg, mgorny, lldb-commits Differential Revision: https://reviews.llvm.org/D47278 llvm-svn: 333444
Diffstat (limited to 'lldb/source/API/CMakeLists.txt')
-rw-r--r--lldb/source/API/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/API/CMakeLists.txt b/lldb/source/API/CMakeLists.txt
index c96e59be5a4..aa0d30416ca 100644
--- a/lldb/source/API/CMakeLists.txt
+++ b/lldb/source/API/CMakeLists.txt
@@ -162,8 +162,7 @@ if (LLDB_WRAP_PYTHON)
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)
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})
OpenPOWER on IntegriCloud