Skip to content

Commit 1d45647

Browse files
adding: sysroot property (#3753)
* sysroot * Update reference/tools/meson/mesontoolchain.rst --------- Co-authored-by: Francisco Ramírez <franchuti688@gmail.com>
1 parent 01444ff commit 1d45647

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

reference/tools/meson/mesontoolchain.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ conf
207207
- ``tools.build:defines`` list of preprocessor definitions, each of which will be prefixed with ``-D`` and passed to ``cpp_args`` and ``c_args``.
208208
- ``tools.build:compiler_executables`` dict-like Python object which specifies the compiler as key
209209
and the compiler executable path as value. Those keys will be mapped as follows:
210+
- ``tools.build:sysroot`` which accepts a path to the system root directory and sets the ``--sysroot`` flag that is used by ``c_args``, ``cpp_args``, ``c_link_args`` and ``cpp_link_args``.
210211

211212
* ``c``: will set ``c`` in ``[binaries]`` section from *conan_meson_xxxx.ini*.
212213
* ``cpp``: will set ``cpp`` in ``[binaries]`` section from *conan_meson_xxxx.ini*.

0 commit comments

Comments
 (0)