diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-05-30 13:27:24 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-30 13:27:24 +0530 |
commit | c87c42b736197b726f3cca47e92bc836c773085e (patch) | |
tree | e704efaa527ac890e731bfbbdd8114702ad1764a | |
parent | a87496addd9160300837aa50193f4798c6f1d251 (diff) | |
download | meson-c87c42b736197b726f3cca47e92bc836c773085e.zip meson-c87c42b736197b726f3cca47e92bc836c773085e.tar.gz meson-c87c42b736197b726f3cca47e92bc836c773085e.tar.bz2 |
Document how to set the default name_prefix and name_suffix [skip ci]
Else people (like me) try to use the old behaviour where
setting it to `''` would use the default.
https://gitlab.gnome.org/GNOME/glib-networking/issues/33
-rw-r--r-- | docs/markdown/Reference-manual.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 2f45451..9948017 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -473,7 +473,8 @@ be passed to [shared and static libraries](#library). target, **never** use this for object files that you build yourself. - `name_suffix` the string that will be used as the extension for the target by overriding the default. By default on Windows this is - `exe` and on other platforms it is omitted. + `exe` and on other platforms it is omitted. Set this to `[]`, or omit + the keyword argument for the default behaviour. - `override_options` takes an array of strings in the same format as `project`'s `default_options` overriding the values of these options for this target only, since 0.40.0 @@ -945,6 +946,8 @@ The keyword arguments for this are the same as for [`executable`](#executable) w `static_library`, `shared_library` and `both_libraries` also accept these keyword arguments. +Note: You can set `name_prefix` and `name_suffix` to `[]`, or omit them for the default behaviour for each platform. + ### message() ``` meson |