您可以更改 C++ 的输出目录吗? WinRT 生成标头?
有没有办法更改 C++ WinRT 项目中 midl 内容生成的文件的输出目录(默认值似乎是 ${ProjectDir}\Generate Files)?
我之所以问这个问题,是因为我有一个包含许多 WinRT 组件的解决方案,每个组件都会在“Generates files\winrt”文件夹中生成 74 MB 的 WinRT 标头。我想为每个文件夹尝试一个文件夹,以节省构建时间和/或磁盘空间。理想情况下,我还想为所有项目共享一个预编译头。
Is there a way to change the output directory for the files generated by the midl stuff in C++ WinRT projects (The default seems to be ${ProjectDir}\Generated Files)?
The reason I'm asking is because I have a solution with many WinRT components and each of them generates 74 MB of WinRT headers in the Generates files\winrt folders. I would like to experiment with a single folder for each of them to save on build times and / or disk space. Ideally I would also like to share a single precompiled header for all of the projects.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论