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

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 30 17:07:52 PDT 2024


================
@@ -8,6 +8,12 @@ set(LLDB_INCLUDE_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/include")
 set(LLDB_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
 set(LLDB_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
 
+if (LLDB_BUILT_STANDALONE)
+  set(LLDB_OBJ_DIR ${CMAKE_CURRENT_BINARY_DIR})
+else()
+  set(LLDB_OBJ_DIR ${CMAKE_CURRENT_BINARY_DIR}/tools/lldb)
+endif()
----------------
JDevlieghere wrote:

`LLDBConfig` shouldn't know about the standalone build. You should set it to `CMAKE_CURRENT_BINARY_DIR` here and overwrite it in `LLDBStandalone.cmake`.

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


More information about the lldb-commits mailing list