[Lldb-commits] [lldb] [lldb][docs] Update instructions to build standalone (PR #137383)
Chelsea Cassanova via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 28 10:40:23 PDT 2025
================
@@ -210,6 +210,7 @@ Clang. Then we build the ``ALL`` target with ninja:
::
$ cmake -B /path/to/llvm-build -G Ninja \
+ -DCMAKE_BUILD_TYPE=[<build type>] \
-DLLVM_ENABLE_PROJECTS=clang \
[<more cmake options>] /path/to/llvm-project/llvm
----------------
chelcassanova wrote:
It can be, but this code snippet could also be used as the minimum invocation to configure LLDB standalone. If one were to take the `[<more cmake options>]` as meaning "more options that you might want" as opposed to "other necessary options to properly configure your build" then they might omit any other CMake option and roll with the `LLVM_ENABLE_PROJECTS` option and nothing else. I thought that adding the build type made it more clear what the minimum options needed are.
https://github.com/llvm/llvm-project/pull/137383
More information about the lldb-commits
mailing list