aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Reference-manual.md
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2019-07-15 10:29:49 +0400
committerJussi Pakkanen <jpakkane@gmail.com>2019-07-17 19:19:56 +0300
commit341d245e6841bbdadddb89450731a6dbae8b7fe2 (patch)
tree40e42eda63af5d78917f1816a9febe06114d2e4d /docs/markdown/Reference-manual.md
parentf5da88112667fddb991ee455c051c9453b2542c1 (diff)
downloadmeson-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/markdown/Reference-manual.md')
-rw-r--r--docs/markdown/Reference-manual.md7
1 files changed, 7 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