diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2022-06-16 11:29:41 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-06-17 18:56:13 -0400 |
commit | 807cbcb350d2a0255cc71f753cce980a081289fb (patch) | |
tree | 2519339be7d828801b8dc51f428ec3215f6ea7ad /docs | |
parent | 47426f3663f795ae9af59075297bf8215ae81f40 (diff) | |
download | meson-807cbcb350d2a0255cc71f753cce980a081289fb.zip meson-807cbcb350d2a0255cc71f753cce980a081289fb.tar.gz meson-807cbcb350d2a0255cc71f753cce980a081289fb.tar.bz2 |
external-project: Add depends kwarg
The unit test was racy but surprisingly never failed on CI. The reason
is we need to ensure ninja build somelib.so before running `make` into
the external project.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/markdown/External-Project-module.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/markdown/External-Project-module.md b/docs/markdown/External-Project-module.md index 162d39d..f0bf2f7 100644 --- a/docs/markdown/External-Project-module.md +++ b/docs/markdown/External-Project-module.md @@ -87,6 +87,11 @@ Keyword arguments: and install the project will be printed onto Meson's stdout. - `env` : environment variables to set, such as `['NAME1=value1', 'NAME2=value2']`, a dictionary, or an [[@env]] object. +- `depends` : *Since 0.63.0* Specifies that this project depends on the specified + target(s) that must be built before running `make` to build this external + project. This should be used for example when the external project links to a + Meson `library()` that the `configure` script will find using the + `-uninstalled.pc` pkg-config file generated by Meson. Returns an [`ExternalProject`](#ExternalProject_object) object |