mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 02:38:07 +08:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user