diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-07-15 10:29:49 +0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-07-17 19:19:56 +0300 |
commit | 341d245e6841bbdadddb89450731a6dbae8b7fe2 (patch) | |
tree | 40e42eda63af5d78917f1816a9febe06114d2e4d /docs | |
parent | f5da88112667fddb991ee455c051c9453b2542c1 (diff) | |
download | meson-341d245e6841bbdadddb89450731a6dbae8b7fe2.zip meson-341d245e6841bbdadddb89450731a6dbae8b7fe2.tar.gz meson-341d245e6841bbdadddb89450731a6dbae8b7fe2.tar.bz2 |
Accept vs_module_defs for modules
Like shared libraries, modules may have vs_module_defs.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/markdown/Reference-manual.md | 7 | ||||
-rw-r--r-- | docs/markdown/snippets/shared_module_defs.md | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 195c451..328cc09 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -1334,6 +1334,13 @@ variables defined in the [`executable`](#executable) it is loaded by, you will need to set the `export_dynamic` argument of the executable to `true`. +Supports the following extra keyword arguments: + +- `vs_module_defs`, *(Added 0.52.0)*, a string, a File object, or + Custom Target for a Microsoft module definition file for controlling + symbol exports, etc., on platforms where that is possible + (e.g. Windows). + **Note:** Linking to a shared module is not supported on some platforms, notably OSX. Consider using a [`shared_library`](#shared_library) instead, if you need to both diff --git a/docs/markdown/snippets/shared_module_defs.md b/docs/markdown/snippets/shared_module_defs.md new file mode 100644 index 0000000..5bc1de7 --- /dev/null +++ b/docs/markdown/snippets/shared_module_defs.md @@ -0,0 +1,4 @@ +## Added `vs_module_defs` to `shared_module()` + +Like `shared_library()`, `shared_module()` now accepts +`vs_module_defs` argument for controlling symbol exports, etc. |