arm64 / UWP / WinRT for HoloLens 2

P.S.:

  • In the above, WRL_NO_DEFAULT_LIB should be preceded and followed by double-underscores. I guess the text editor here misinterpreted those to mean boldface. I copied that from the settings in the Microsoft example.

  • The example BasicXrApp_uwp is in the form of standard Visual Studio SLN and VCXPROJ solution and project files, not a CMake project. There are features that may or may not be relevant that I don’t know how to translate into a CMake project – especially: a “References” container with an explicit reference to Microsoft.VCLibs That seems highly relevant. But, the VS interface for CMake projects is different, and I don’t see a way to add such references. I’ve looked at the SLN, VCXPROJ, etc. files with a text editor (Notepad++) and can’t see where that reference is actually recorded or how it affects the build process.