@@ -61,6 +61,21 @@ Environment variables used by meson-python
61
61
.. _cross build definition file : https://mesonbuild.com/Cross-compilation.html
62
62
.. _cibuildwheel : https://cibuildwheel.readthedocs.io/en/stable/
63
63
64
+ .. envvar :: IPHONEOS_DEPLOYMENT_TARGET
65
+
66
+ This environment variable is used to specify the target iOS platform version
67
+ to the Xcode development tools. If this environment variable is set,
68
+ ``meson-python `` will use the specified iOS version for the Python wheel
69
+ platform tag, instead than the iOS platform default of 13.0.
70
+
71
+ This variable must be set to a major/minor version (e.g., ``13.0 `` or
72
+ ``15.4 ``).
73
+
74
+ Another way of specifying the target iOS platform is to use the
75
+ ``-mios-version-min `` compile and link flags. However, it is not possible
76
+ for ``meson-python `` to detect this, and it will not set the Python wheel
77
+ platform tag accordingly.
78
+
64
79
.. envvar :: FORCE_COLOR
65
80
66
81
Setting this environment variable to any value forces the use of ANSI
@@ -69,11 +84,10 @@ Environment variables used by meson-python
69
84
70
85
.. envvar :: MACOSX_DEPLOYMENT_TARGET
71
86
72
- This environment variables is used of specifying the target macOS platform
73
- major version to the Xcode development tools. If this environment variable
74
- is set, ``meson-python `` will use the specified macOS version for the
75
- Python wheel platform tag instead than the macOS version of the build
76
- machine.
87
+ This environment variable is used to specify the target macOS platform major
88
+ version to the Xcode development tools. If this environment variable is set,
89
+ ``meson-python `` will use the specified macOS version for the Python wheel
90
+ platform tag instead than the macOS version of the build machine.
77
91
78
92
This variable must be set to macOS major versions only: ``10.9 `` to
79
93
``10.15 ``, ``11 ``, ``12 ``, ``13 ``, ...
0 commit comments