From 32be9bd6de0a4769cdf6d9528496925643739918 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Sat, 29 Jul 2023 21:41:10 -0700 Subject: add support for vs_module_defs to Executables fixes: #9254 --- docs/yaml/functions/executable.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs/yaml/functions/executable.yaml') 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. -- cgit v1.2.3