File tree 1 file changed +3
-18
lines changed
1 file changed +3
-18
lines changed Original file line number Diff line number Diff line change @@ -44,21 +44,6 @@ Let's go through each option and why they are used:
44
44
because Meson defaults to values that are appropriate for development, while
45
45
the main purpose of meson-python is to build release artifacts.
46
46
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.
You can’t perform that action at this time.
0 commit comments