1 year ago

#386455

test-img

monoceres

Can you change the output directory for C++ WinRT generated headers?

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.

c++

visual-studio

c++-winrt

winui-3

midl

0 Answers

Your Answer

Accepted video resources