Skip to content

Commit 8ea3b4a

Browse files
authored
fixed typos and moved information in "seealso" box
1 parent 98087ef commit 8ea3b4a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/how-to-guides/meson-args.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Advanced meson options can be accessed by specifying extra arguments to the indi
2323
- meson compile: https://mesonbuild.com/Commands.html#compile
2424
- meson install: https://mesonbuild.com/Commands.html#install
2525

26-
These arguments can be added to the project via the projcte ``pyproject.toml``:
26+
These arguments can be added to the project via the project's ``pyproject.toml``:
2727

2828
.. code-block:: console
2929
@@ -67,7 +67,12 @@ Or the build config settings:
6767
Example 2: use meson install_tags for selective installs
6868
========================================================
6969

70-
It is now (meson-python 0.13 or 0.14?) possible to use meson install_tags to select which targets should be installed into the binary wheels (https://mesonbuild.com/Installing.html#installation-tags). Each meson target has a default install_tag (e.g. 'runtime' for shared libraries and 'devel' for headers.) The default tag can be overwritten for each target using the targets "install_tag" option (for more information refer mesons documentation in installation-tags).
70+
It is now (meson-python >= 0.13) possible to use meson install_tags to select which targets are installed into the binary wheels.
71+
72+
.. admonition:: All four categories must exist
73+
:class: seealso
74+
75+
Each meson target has a default install_tag (e.g. 'runtime' for shared libraries and 'devel' for headers.). Using "meson install --tags=tag1,tag2,..." will cause meson to only install the targets tagges with any of the specified tags. The default tag of each target can be overwritten using the target's "install_tag" option. Ffor more information refer mesons documentation in installation-tags: https://mesonbuild.com/Installing.html#installation-tags
7176

7277
The following code (in pyproject.toml) causes meson-python to only install targets tagged with 'runtime' or 'python-runtime') into the binary wheel (ignoring e.g. c++ headers):
7378

0 commit comments

Comments
 (0)