summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-toolchains.7.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-05 13:41:49 (GMT)
committerBrad King <brad.king@kitware.com>2015-10-05 13:48:15 (GMT)
commit2402bb8cfd63078623779a3704227915324e52d4 (patch)
treed5f54511466238e1f8316ff11383b496b069bfa1 /Help/manual/cmake-toolchains.7.rst
parent1be2f12cf241f0d46095e17a561cd70da49ff549 (diff)
downloadCMake-2402bb8cfd63078623779a3704227915324e52d4.zip
CMake-2402bb8cfd63078623779a3704227915324e52d4.tar.gz
CMake-2402bb8cfd63078623779a3704227915324e52d4.tar.bz2
Help: Document Windows 10 Universal Applications in cmake-toolchains(7)
Diffstat (limited to 'Help/manual/cmake-toolchains.7.rst')
-rw-r--r--Help/manual/cmake-toolchains.7.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/Help/manual/cmake-toolchains.7.rst b/Help/manual/cmake-toolchains.7.rst
index a06dce7..492fcac 100644
--- a/Help/manual/cmake-toolchains.7.rst
+++ b/Help/manual/cmake-toolchains.7.rst
@@ -220,6 +220,23 @@ Windows CE to use. Currently version 8.0 (Windows Embedded Compact 2013) is
supported out of the box. Other versions may require one to set
:variable:`CMAKE_GENERATOR_TOOLSET` to the correct value.
+Cross Compiling for Windows 10 Universal Applications
+-----------------------------------------------------
+
+A toolchain file to configure a Visual Studio generator for a
+Windows 10 Universal Application may look like this:
+
+.. code-block:: cmake
+
+ set(CMAKE_SYSTEM_NAME WindowsStore)
+ set(CMAKE_SYSTEM_VERSION 10.0)
+
+A Windows 10 Universal Application targets both Windows Store and
+Windows Phone. Specify the :variable:`CMAKE_SYSTEM_VERSION` variable
+to be ``10.0`` to build with the latest available Windows 10 SDK.
+Specify a more specific version (e.g. ``10.0.10240.0`` for RTM)
+to build with the corresponding SDK.
+
Cross Compiling for Windows Phone
---------------------------------