aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/gettingstarted
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-12-20 08:33:03 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-12-20 09:31:48 +0100
commitf804abae4a8f7e0eaf6d749ed4b26dbe56213b38 (patch)
treedffb4b15aa625a00210858df8a214afe4986aa25 /sources/pyside6/doc/gettingstarted
parentae4131593c7052b24ed34bd112d0c7adcc6dae65 (diff)
Documentation: Mention Unity build mode
Task-number: PYSIDE-2155 Change-Id: I1cdcbc8aa7500d685a138a3352632635519e323a Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/doc/gettingstarted')
-rw-r--r--sources/pyside6/doc/gettingstarted/index.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/pyside6/doc/gettingstarted/index.rst b/sources/pyside6/doc/gettingstarted/index.rst
index 36da0bea9..1c2cc821a 100644
--- a/sources/pyside6/doc/gettingstarted/index.rst
+++ b/sources/pyside6/doc/gettingstarted/index.rst
@@ -79,6 +79,8 @@ using **ninja** (instead of make), and considering only the **module subset** of
:mod:`QtWidgets <PySide6.QtWidgets>`.
Other important options to consider are:
+ * ``--unity``, Activates `CMake Unity Build Mode`_, which speeds up the
+ build by concatenating source files,
* ``--cmake``, to specify the path to the cmake binary,
* ``--reuse-build``, to rebuild only the modified files,
* ``--openssl=/path/to/openssl/bin``, to use a different path for OpenSSL,
@@ -527,3 +529,4 @@ A set of tools can be found under the ``tools/`` directory inside the ``pyside-s
.. _repository: https://github.com/liyanage/macosx-shell-scripts/
.. _`wiki page`: https://wiki.qt.io/Qt_for_Python_Missing_Bindings
.. _BeautifulSoup: https://www.crummy.com/software/BeautifulSoup/
+.. _`CMake Unity Build Mode` : https://cmake.org/cmake/help/latest/prop_tgt/UNITY_BUILD.html