[Lldb-commits] [lldb] Install generated API headers into LLDB.framework (PR #90666)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Tue Apr 30 17:29:42 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()
----------------
adrian-prantl wrote:
It looks like when it's evaluated here it actually points to `tools/lldb` so just setting the variable to CMAKE_CURRENT_BINARY_DIR here seems to do the trick. Unless it's undefined which directory we get based on context?
https://github.com/llvm/llvm-project/pull/90666
More information about the lldb-commits
mailing list