diff options
| author | Xavier Claessens <xclaessens@netflix.com> | 2024-10-26 17:49:10 -0400 |
|---|---|---|
| committer | Xavier Claessens <xclaesse@gmail.com> | 2024-10-28 09:03:46 -0400 |
| commit | 1840bb02ba741fb62a8d613a71431a8d7fa86a00 (patch) | |
| tree | da37ddffecea5d3e74afc2ca132a7d3b77399611 /docs | |
| parent | 38dc9894add23691a948a8a733d3175e0b94b183 (diff) | |
| download | meson-1840bb02ba741fb62a8d613a71431a8d7fa86a00.tar.gz | |
external-project: Setup devenv to run programs
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/markdown/External-Project-module.md | 8 | ||||
| -rw-r--r-- | docs/markdown/snippets/external_project_devenv.md | 7 |
2 files changed, 13 insertions, 2 deletions
diff --git a/docs/markdown/External-Project-module.md b/docs/markdown/External-Project-module.md index 615c6c117..39449fe21 100644 --- a/docs/markdown/External-Project-module.md +++ b/docs/markdown/External-Project-module.md @@ -5,6 +5,8 @@ *This is an experimental module, API could change.* +*Added 0.56.0* + This module allows building code that uses build systems other than Meson. This module is intended to be used to build Autotools subprojects as fallback if the dependency couldn't be found on the @@ -47,7 +49,8 @@ Known limitations: from `-uninstalled.pc` files. This is arguably a bug that could be fixed in future version of pkg-config/pkgconf. -*Added 0.56.0* +*Since 1.7.0* [Meson devenv][Commands.md#devenv] setup `PATH` and +`LD_LIBRARY_PATH` to be able to run programs. ## Functions @@ -78,7 +81,8 @@ Keyword arguments: added in case some tags are not found in `configure_options`: `'--prefix=@PREFIX@'`, `'--libdir=@PREFIX@/@LIBDIR@'`, and `'--includedir=@PREFIX@/@INCLUDEDIR@'`. It was previously considered a fatal - error to not specify them. + error to not specify them. *Since 1.7.0* `@BINDIR@` and `'--bindir=@PREFIX@/@BINDIR@'` + default argument have been added. - `cross_configure_options`: Extra options appended to `configure_options` only when cross compiling. special tag `@HOST@` will be replaced by `'{}-{}-{}'.format(host_machine.cpu_family(), build_machine.system(), host_machine.system()`. diff --git a/docs/markdown/snippets/external_project_devenv.md b/docs/markdown/snippets/external_project_devenv.md new file mode 100644 index 000000000..1927bd32f --- /dev/null +++ b/docs/markdown/snippets/external_project_devenv.md @@ -0,0 +1,7 @@ +## Devenv support in external project module + +The [external project module](External-Project-module.md) now setups `PATH` and +`LD_LIBRARY_PATH` to be able to run programs. + +`@BINDIR@` is now substitued in arguments and `'--bindir=@PREFIX@/@BINDIR@'` +default argument have been added. |
