Skip to content

Commit cb1c86c

Browse files
committed
DOC: remove examples in favor of linking to the meson-args page
[skip cirrus]
1 parent 667c9c4 commit cb1c86c

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

docs/explanations/default-options.rst

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,6 @@ Let's go through each option and why they are used:
4444
because Meson defaults to values that are appropriate for development, while
4545
the main purpose of meson-python is to build release artifacts.
4646

47-
It is possible to override these defaults, either permanently in your project
48-
or at build time. For example, to build a wheel with debug symbols, use:
49-
50-
.. code-block:: console
51-
52-
$ python -m build -Csetup-args=-Ddebug=true
53-
54-
And to override all debug and optimization settings permanently, add this to
55-
your ``pyproject.toml`` file:
56-
57-
.. code-block:: toml
58-
59-
[tool.meson-python.args]
60-
setup = ['-Ddebug=true', '-Doptimization=0', '-Db_ndebug=false']
61-
62-
For more details on overriding build options at build time see the
63-
:ref:`reference-config-settings` page, and in ``pyproject.toml`` see the
64-
:ref:`reference-pyproject-settings` page.
47+
It is possible to override these defaults, either permanently in your
48+
``pyproject.toml`` or at build time via the build frontend CLI.
49+
See the :ref:`how-to-guides-meson-args` page for examples of both methods.

0 commit comments

Comments
 (0)