diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2023-07-29 21:41:10 -0700 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-09-28 14:35:01 -0400 |
| commit | 32be9bd6de0a4769cdf6d9528496925643739918 (patch) | |
| tree | e7f5194acda5c18a1814a856aa4a9c375f09f7ed /docs | |
| parent | 5421c24ea02ac50292db51bcab6150bb7e91bf1c (diff) | |
| download | meson-32be9bd6de0a4769cdf6d9528496925643739918.tar.gz | |
add support for vs_module_defs to Executables
fixes: #9254
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/markdown/snippets/executable_vs_module_defs.md | 4 | ||||
| -rw-r--r-- | docs/yaml/functions/executable.yaml | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/docs/markdown/snippets/executable_vs_module_defs.md b/docs/markdown/snippets/executable_vs_module_defs.md new file mode 100644 index 000000000..79017488d --- /dev/null +++ b/docs/markdown/snippets/executable_vs_module_defs.md @@ -0,0 +1,4 @@ +## Executable gains vs_module_defs keyword + +This allows using a .def file to control which functions an [[executable]] will +expose to a [[shared_module]]. diff --git a/docs/yaml/functions/executable.yaml b/docs/yaml/functions/executable.yaml index cdf764a07..380759457 100644 --- a/docs/yaml/functions/executable.yaml +++ b/docs/yaml/functions/executable.yaml @@ -44,3 +44,13 @@ kwargs: type: bool since: 0.49.0 description: Build a position-independent executable. + + vs_module_defs: + type: str | file | custom_tgt | custom_idx + since: 1.3.0 + description: | + Specify a Microsoft module definition file for controlling symbol exports, + etc., on platforms where that is possible (e.g. Windows). + + This can be used to expose which functions a shared_module loaded by an + executable will be allowed to use. |
