[Lldb-commits] [lldb] Install generated API headers into LLDB.framework (PR #90666)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 30 14:54:12 PDT 2024


================
@@ -71,6 +71,7 @@ endif()
 # At configuration time, collect headers for the framework bundle and copy them
 # into a staging directory. Later we can copy over the entire folder.
 file(GLOB public_headers ${LLDB_SOURCE_DIR}/include/lldb/API/*.h)
+file(GLOB built_public_headers ${LLDB_FRAMEWORK_ABSOLUTE_BUILD_DIR}/../tools/lldb/include/lldb/API/*.h)
----------------
bulbazord wrote:

Yeah that is definitely incorrect for a standalone build. You could put the directory into a CMake variable and use that instead of reconstructing it here.

Also nit: `built_public_headers` -> `generated_public_headers`?

https://github.com/llvm/llvm-project/pull/90666


More information about the lldb-commits mailing list