summaryrefslogtreecommitdiff
path: root/Help/manual/cmake-toolchains.7.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-09-19 13:22:22 -0400
committerBrad King <brad.king@kitware.com>2014-09-19 13:22:22 -0400
commit2702216637cea02e9aa3fd63ddf0287d68cfe9ca (patch)
tree4e8dd523386ad6faf925153b3d8ec0d33814224f /Help/manual/cmake-toolchains.7.rst
parentdb54d872874407c81690794e274cb4b88c64872b (diff)
downloadcmake-2702216637cea02e9aa3fd63ddf0287d68cfe9ca.tar.gz
Help: Add Windows Phone/Store cross-compiling to cmake-toolchains.7
Show simple example toolchain files for each.
Diffstat (limited to 'Help/manual/cmake-toolchains.7.rst')
-rw-r--r--Help/manual/cmake-toolchains.7.rst22
1 files changed, 22 insertions, 0 deletions
diff --git a/Help/manual/cmake-toolchains.7.rst b/Help/manual/cmake-toolchains.7.rst
index 858499a1f8..1621b5ffd6 100644
--- a/Help/manual/cmake-toolchains.7.rst
+++ b/Help/manual/cmake-toolchains.7.rst
@@ -218,3 +218,25 @@ Further :variable:`CMAKE_SYSTEM_VERSION` tells the generator what version of
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 Phone
+---------------------------------
+
+A toolchain file to configure a Visual Studio generator for
+Windows Phone may look like this:
+
+.. code-block:: cmake
+
+ set(CMAKE_SYSTEM_NAME WindowsPhone)
+ set(CMAKE_SYSTEM_VERSION 8.1)
+
+Cross Compiling for Windows Store
+---------------------------------
+
+A toolchain file to configure a Visual Studio generator for
+Windows Store may look like this:
+
+.. code-block:: cmake
+
+ set(CMAKE_SYSTEM_NAME WindowsStore)
+ set(CMAKE_SYSTEM_VERSION 8.1)