File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,18 @@ The version assert at the top of each namespace header:
9898All module test projects use v143 toolset. ` import std; ` requires ` BuildStlModules=true `
9999and either v145 toolset or ` /std:c++latest ` on v143.
100100
101+ ## Module Namespace Filtering (-module_filter)
102+
103+ The ` -module_filter ` cppwinrt.exe arg controls which namespaces go into
104+ ` winrt.ixx ` and ` winrt_module_namespaces.h ` . All namespace headers are still
105+ generated for textual inclusion — only the module contents are filtered.
106+
107+ - NuGet property: ` CppWinRTModuleFilter ` (space-separated prefixes)
108+ - cppwinrt.exe arg: ` -module_filter <prefix> ` (can be repeated)
109+ - Implementation: ` settings.ixx_filter ` in ` main.cpp ` /` settings.h `
110+ - The repo test builders use ` -module_filter Windows.Foundation ` to speed up
111+ the inner loop (5 namespaces instead of 339).
112+
101113## NuGet Module Integration (test/nuget/)
102114
103115The NuGet targets split module support into two properties:
You can’t perform that action at this time.
0 commit comments