[doc] build: Change Client Building notes to full cmake commands

This may help novices or people who have trouble constructing the commands
themselves
This commit is contained in:
Jonathan Rubenstein 2022-04-16 17:03:25 +03:00 committed by Geoffrey McRae
parent 0db17f803b
commit 0759a7664b

View File

@ -177,17 +177,26 @@ it directly from the build directory:
.. note:: .. note::
For users running GNOME on Wayland, you likely want to pass For users running GNOME on Wayland, you may want to enable libdecor when
``-DENABLE_LIBDECOR=ON`` to ``cmake``, i.e. run ``cmake -DENABLE_LIBDECOR=ON ../``. building.
.. code:: bash
cmake -DENABLE_LIBDECOR=ON ../
For details, see :ref:`the FAQ <gnome_wayland_decorations>`. For details, see :ref:`the FAQ <gnome_wayland_decorations>`.
.. note:: .. note::
The most common compile error is related to backtrace support. This can be The most common compile error is related to backtrace support. Try disabling
disabled by adding the following option to the cmake command: this when building:
``-DENABLE_BACKTRACE=0``. However, if you disable this and need support for
a crash, use ``gdb`` to obtain a backtrace manually. .. code:: bash
cmake -DENABLE_BACKTRACE=0 ../
If you disable this and need support for crash, use ``gdb`` to obtain a
backtrace manually.
.. _host_building: .. _host_building: