Skip to content

Commit 628576b

Browse files
committed
Install generated API headers into LLDB.framework
1 parent 4cd11c9 commit 628576b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lldb/cmake/modules/LLDBFramework.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ endif()
7171
# At configuration time, collect headers for the framework bundle and copy them
7272
# into a staging directory. Later we can copy over the entire folder.
7373
file(GLOB public_headers ${LLDB_SOURCE_DIR}/include/lldb/API/*.h)
74+
file(GLOB built_public_headers ${LLDB_FRAMEWORK_ABSOLUTE_BUILD_DIR}/../tools/lldb/include/lldb/API/*.h)
7475
file(GLOB root_public_headers ${LLDB_SOURCE_DIR}/include/lldb/lldb-*.h)
7576
file(GLOB root_private_headers ${LLDB_SOURCE_DIR}/include/lldb/lldb-private*.h)
7677
list(REMOVE_ITEM root_public_headers ${root_private_headers})
@@ -80,6 +81,7 @@ find_program(unifdef_EXECUTABLE unifdef)
8081
set(lldb_header_staging ${CMAKE_CURRENT_BINARY_DIR}/FrameworkHeaders)
8182
foreach(header
8283
${public_headers}
84+
${built_public_headers}
8385
${root_public_headers})
8486

8587
get_filename_component(basename ${header} NAME)

0 commit comments

Comments
 (0)