mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-14 12:22:27 +00:00
[lldb][docs] Add CMake version notes for -B flag
The original documentation update was reviewed with D65330 llvm-svn: 367407
This commit is contained in:
parent
8eb5ba583c
commit
a60966daa2
8
lldb/docs/_static/lldb.css
vendored
8
lldb/docs/_static/lldb.css
vendored
@ -10,6 +10,14 @@ div.body {
|
|||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.note {
|
||||||
|
padding: 20px 20px 10px 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.note p.admonition-title {
|
||||||
|
font-size: 130%;
|
||||||
|
}
|
||||||
|
|
||||||
table.mapping {
|
table.mapping {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
@ -125,10 +125,10 @@ checked out above, but now we will have two build-trees:
|
|||||||
* the main build-tree for LLDB in ``/path/to/lldb-build``
|
* the main build-tree for LLDB in ``/path/to/lldb-build``
|
||||||
* a provided build-tree for LLVM and Clang in ``/path/to/llvm-build``
|
* a provided build-tree for LLVM and Clang in ``/path/to/llvm-build``
|
||||||
|
|
||||||
Run CMake with ``-B`` pointing to a new directory for the provided build-tree
|
Run CMake with ``-B`` pointing to a new directory for the provided
|
||||||
and the positional argument pointing to the ``llvm`` directory in the
|
build-tree\ :sup:`1` and the positional argument pointing to the ``llvm``
|
||||||
source-tree. Note that we leave out LLDB here and only include Clang.
|
directory in the source-tree. Note that we leave out LLDB here and only include
|
||||||
Then we build the ``ALL`` target with ninja:
|
Clang. Then we build the ``ALL`` target with ninja:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
@ -151,6 +151,11 @@ case-sensitive!):
|
|||||||
[<more cmake options>] /path/to/llvm-project/lldb
|
[<more cmake options>] /path/to/llvm-project/lldb
|
||||||
> ninja lldb
|
> ninja lldb
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
#. The ``-B`` argument was undocumented for a while and is only officially
|
||||||
|
supported since `CMake version 3.14
|
||||||
|
<https://cmake.org/cmake/help/v3.14/release/3.14.html#command-line>`_
|
||||||
|
|
||||||
.. _CommonCMakeOptions:
|
.. _CommonCMakeOptions:
|
||||||
|
|
||||||
@ -321,6 +326,12 @@ Build LLDB standalone for development with Xcode:
|
|||||||
> open lldb.xcodeproj
|
> open lldb.xcodeproj
|
||||||
> cmake --build /path/to/lldb-build --target check-lldb
|
> cmake --build /path/to/lldb-build --target check-lldb
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
The ``-B`` argument was undocumented for a while and is only officially
|
||||||
|
supported since `CMake version 3.14
|
||||||
|
<https://cmake.org/cmake/help/v3.14/release/3.14.html#command-line>`_
|
||||||
|
|
||||||
|
|
||||||
Building The Documentation
|
Building The Documentation
|
||||||
--------------------------
|
--------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user