diff options
| author | Jussi Pakkanen <jussi.pakkanen@mailbox.org> | 2025-09-14 14:26:49 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jussi.pakkanen@mailbox.org> | 2025-10-01 21:54:38 +0300 |
| commit | 9c1e868b3c588a9c7269babe9381d824cb77e6b5 (patch) | |
| tree | ce6c65353e3fd94c3ef9f8da1792b7a114c21e07 /docs/markdown/snippets | |
| parent | 8d490ab081dc15abeaece45bacf2ae1bb73e67fd (diff) | |
| download | meson-9c1e868b3c588a9c7269babe9381d824cb77e6b5.tar.gz | |
Add documentation for naming scheme.
Diffstat (limited to 'docs/markdown/snippets')
| -rw-r--r-- | docs/markdown/snippets/naming_option.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/markdown/snippets/naming_option.md b/docs/markdown/snippets/naming_option.md new file mode 100644 index 000000000..a1c1cdaf1 --- /dev/null +++ b/docs/markdown/snippets/naming_option.md @@ -0,0 +1,16 @@ +## Added new `namingscheme` option + +Traditionally Meson has named output targets so that they don't clash +with each other. This has meant, among other things, that on Windows +Meson uses a nonstandard `.a` suffix for static libraries because both +static libraries and import libraries have the suffix `.lib`. + +There is now an option `namingscheme` that can be set to +`platform`. This new platform native naming scheme that replicates +what Rust does. That is, shared libraries on Windows get a suffix +`.dll`, static libraries get `.lib` and import libraries have the name +`.dll.lib`. + +We expect to change the default value of this option to `platform` in +a future major version. Until that happens we reserve the right to +alter how `platform` actually names its output files. |
