[lldb][docs] Add CAMKE_BUILD_TYPE to standlone build instructions

The first stage requires it, the second appears to default to
debug mode, which works but it's better we advise release mode
to match.
This commit is contained in:
David Spickett
2025-07-16 16:43:49 +00:00
parent 8519143a9f
commit 97922a7d40

View File

@@ -211,6 +211,7 @@ Clang. Then we build the ``ALL`` target with ninja:
$ cmake -B /path/to/llvm-build -G Ninja \
-DLLVM_ENABLE_PROJECTS=clang \
-DCMAKE_BUILD_TYPE=Release \
[<more cmake options>] /path/to/llvm-project/llvm
$ ninja
@@ -224,6 +225,7 @@ build directory for Clang, remember to pass its module path via ``Clang_DIR``
::
$ cmake -B /path/to/lldb-build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_DIR=/path/to/llvm-build/lib/cmake/llvm \
[<more cmake options>] /path/to/llvm-project/lldb
$ ninja lldb lldb-server