How to use CMake for building a Universal Windows Application. I have already searched a lot and I came across the following:
CMake -G "Visual Studio 14 2015" -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10
This is how I am supposed to invoke CMake.
(How can i use CMake to generate Windows 10 universal project)
How should the corresponding CMakeLists.txt files look like. I know about the command for executables and library like add_executable etc. But I do not know about the command to be used for building a UWP app. Can anyone please provide a sample CMakeLists.txt file along with some sample code?
Also how to use CMake for a WinRT component?