clayborg added a comment.

Can we add a section for "Building LLDB with Xcode"? We had a shell script 
patch that was going to be checked in, not sure if it made it. But it did a two 
part thing where it built LLVM and clang and then generated an Xcode project. I 
would rather just produce the Xcode project using cmake, very similar to other 
instructions. My mac cmake line has:

  cmake -G Ninja -DLLVM_ENABLE_PROJECTS="clang;libcxx;lldb" 
-DCMAKE_BUILD_TYPE:STRING=Debug -DLLVM_ENABLE_ASSERTIONS:BOOL=TRUE 
-DLLDB_BUILD_FRAMEWORK:BOOL=TRUE -DLLDB_USE_SYSTEM_DEBUGSERVER=ON 
/path/to/llvm-project/llvm

Important bits are the projects being set to "clang;libcxx;lldb" (include 
libcxx) and building the framework and using the system debugserver


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65330/new/

https://reviews.llvm.org/D65330



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to