[Lldb-commits] [lldb] [lldb][docs] Update standlone build instructions (PR #192613)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 17 02:12:51 PDT 2026


================
@@ -240,19 +239,16 @@ 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 \
+          -DCMAKE_BUILD_TYPE=[<build type>] \
           -DLLVM_DIR=/path/to/llvm-build/lib/cmake/llvm \
           [<more cmake options>] /path/to/llvm-project/lldb
-  $ ninja lldb lldb-server
+  $ cmake --build /path/to/lldb-build lldb lldb-server
----------------
DavidSpickett wrote:

Actually I think I need `-t` for the targets (https://cmake.org/cmake/help/latest/manual/cmake.1.html#build-a-project).

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


More information about the lldb-commits mailing list