diff options
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-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 |