UWP Builds

To generate a solution for building for the Universal Windows Platform (UWP), you need to pass a toolchain file to CMake. The file is located in the ez repository under Code/BuildSystem/CMake/toolchain-winstore.cmake.

Using the CMake GUI

  1. Create a new solution for the UWP build by pointing Where to build the binaries to a new location.
  2. Press Configure once, a dialog will show up to choose the generator.
  3. Choose the desired Visual Studio generator at the top.
  4. Depending on your target device, choose the platform. For instance, for HoloLens 1 select Win32.
  5. At the bottom select Specify toolchain file for cross-compiling.
  6. On the next screen set the toolchain file PathToEzRepository/Code/BuildSystem/CMake/toolchain-winstore.cmake

Using the command line

Run CMake with this argument: -DCMAKE_TOOLCHAIN_FILE=PathToEzRepository/Code/BuildSystem/CMake/toolchain-winstore.cmake

See Also