aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Contributing.md
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-03-06 09:49:47 -0800
committerDylan Baker <dylan@pnwbakers.com>2020-03-06 12:11:26 -0800
commit2cdc6892f4cb28d82e878c570e2f39361aee7cad (patch)
tree7e9ab9d9f806cf27f4b5f3a24a460488f541ba96 /docs/markdown/Contributing.md
parentf404c679cf292e6a7cf3886cd94511602c1c09f9 (diff)
downloadmeson-2cdc6892f4cb28d82e878c570e2f39361aee7cad.zip
meson-2cdc6892f4cb28d82e878c570e2f39361aee7cad.tar.gz
meson-2cdc6892f4cb28d82e878c570e2f39361aee7cad.tar.bz2
project_tests: Add a "shared_lib" type
This allows fixing tests that produce .dylib's on macOS and .so's on elf Unices.
Diffstat (limited to 'docs/markdown/Contributing.md')
-rw-r--r--docs/markdown/Contributing.md18
1 files changed, 10 insertions, 8 deletions
diff --git a/docs/markdown/Contributing.md b/docs/markdown/Contributing.md
index 26f3512..65460d9 100644
--- a/docs/markdown/Contributing.md
+++ b/docs/markdown/Contributing.md
@@ -190,6 +190,7 @@ Exanple `test.json`:
"installed": [
{ "type": "exe", "file": "usr/bin/testexe" },
{ "type": "pdb", "file": "usr/bin/testexe" },
+ { "type": "shared_lib", "file": "usr/lib/z" },
],
"matrix": {
"options": {
@@ -233,14 +234,15 @@ actually installed file.
The `type` entry specifies how the `file` path should be interpreted based on the
current platform. The following values are currently supported:
-| `type` | Description |
-| :-----------: | -------------------------------------------------------------------------------- |
-| `file` | No postprocessing, just use the provided path |
-| `exe` | For executables. On Windows the `.exe` suffix is added to the path in `file` |
-| `pdb` | For Windows PDB files. PDB entries are ignored on non Windows platforms |
-| `implib` | For Windows import libraries. These entries are ignored on non Windows platforms |
-| `implibempty` | Like `implib`, but no symbols are exported in the library |
-| `expr` | `file` is an expression. This type should be avoided and removed if possible |
+| `type` | Description |
+| :-----------: | ------------------------------------------------------------------------------------------------------- |
+| `file` | No postprocessing, just use the provided path |
+| `exe` | For executables. On Windows the `.exe` suffix is added to the path in `file` |
+| `shared_lib` | For shared libraries, always written as `name`. The appropriate suffix and prefix are added by platform |
+| `pdb` | For Windows PDB files. PDB entries are ignored on non Windows platforms |
+| `implib` | For Windows import libraries. These entries are ignored on non Windows platforms |
+| `implibempty` | Like `implib`, but no symbols are exported in the library |
+| `expr` | `file` is an expression. This type should be avoided and removed if possible |
Except for the `file` and `expr` types, all paths should be provided *without* a suffix.