================
@@ -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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to