ClangSharp icon indicating copy to clipboard operation
ClangSharp copied to clipboard

Allow generating xml and csharp in a single invocation

Open minichma opened this issue 2 weeks ago • 0 comments

The ClangSharpPInvokeGenerator tool allows specifying the output format (i.e. csharp or xml) via the -om option. In some cases multiple formats are needed, which requires multiple invocations of the tool. It would be beneficial if we could generate multiple formats in a single invocation. This ticket is a feature request to allow passing the -om option multiple times, specifying multiple output formats or alternatively allow passing a comma separated list to -om.

I.e.

ClangSharpPInvokeGenerator @generate.rsp -om csharp -om xml

or

ClangSharpPInvokeGenerator @generate.rsp -om csharp,xml

minichma avatar Dec 09 '25 17:12 minichma