How to generate C++ source code via command line? #5890
Unanswered
justanotheranonymoususer
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For historical reasons, we have a CI pipeline that downloads the SDK nuget and generates the C++ headers. It uses cppwinrt.exe and some simple scripting. With the split of the nuget to several components, it's no longer so simple to generate it. Even if I resolve the dependencies from the nuspec file manually, I need to parse the targets, for example in
Microsoft.WindowsAppSDK.AI
:to know which .winmd files are to be passed to cppwinrt.exe.
Visual Studio does all this automatically when building a project.
Is there a way to generate the headers without having to do all the target parsing etc. manually and without Visual Studio (or msbuild and an ugly throwaway project)?
Beta Was this translation helpful? Give feedback.
All reactions