Clarify that MESONINTROSPECT may have multiple parts.
This commit is contained in:
parent
75208604da
commit
7de61aac12
|
@ -1176,11 +1176,13 @@ the following methods.
|
||||||
Python](https://docs.python.org/3/library/os.path.html#os.path.join)
|
Python](https://docs.python.org/3/library/os.path.html#os.path.join)
|
||||||
special-case absolute paths.
|
special-case absolute paths.
|
||||||
|
|
||||||
`MESONINTROSPECT` contains the path to the `mesonintrospect`
|
`MESONINTROSPECT` contains the path to the introspect command that
|
||||||
executable that corresponds to the `meson` executable that was used
|
corresponds to the `meson` executable that was used to configure the
|
||||||
to configure the build. (This might be a different path then the
|
build. (This might be a different path then the first executable
|
||||||
first `mesonintrospect` executable found in `PATH`.) It can be used
|
found in `PATH`.) It can be used to query build configuration. Note
|
||||||
to query build configuration.
|
that the value may contain many parts, i.e. it may be `python3
|
||||||
|
/path/to/meson.py introspect`. The user is responsible for splitting
|
||||||
|
the string to an array if needed.
|
||||||
|
|
||||||
- `source_root()` returns a string with the absolute path to the
|
- `source_root()` returns a string with the absolute path to the
|
||||||
source root directory. Note: you should use the `files()` function
|
source root directory. Note: you should use the `files()` function
|
||||||
|
|
Loading…
Reference in New Issue