summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorGilles Khouzam <gillesk@microsoft.com>2014-07-28 18:19:45 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-31 18:08:52 (GMT)
commit592098e2d5a00d396e84d7a5e51ae6c550a21fc6 (patch)
tree8c1a5a40ce33cf0b5f03a1b390b1d477f5824df4 /Help
parentaa42a78f523f3db5e849663a7c55d949dd25bfb0 (diff)
downloadCMake-592098e2d5a00d396e84d7a5e51ae6c550a21fc6.zip
CMake-592098e2d5a00d396e84d7a5e51ae6c550a21fc6.tar.gz
CMake-592098e2d5a00d396e84d7a5e51ae6c550a21fc6.tar.bz2
Define 'WINDOWS_PHONE' and 'WINDOWS_STORE' variables
Set one of these when CMAKE_SYSTEM_NAME is "WindowsPhone" or "WindowsStore", respectively.
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-variables.7.rst2
-rw-r--r--Help/variable/WINDOWS_PHONE.rst5
-rw-r--r--Help/variable/WINDOWS_STORE.rst5
3 files changed, 12 insertions, 0 deletions
diff --git a/Help/manual/cmake-variables.7.rst b/Help/manual/cmake-variables.7.rst
index 05a7b33..e622784 100644
--- a/Help/manual/cmake-variables.7.rst
+++ b/Help/manual/cmake-variables.7.rst
@@ -190,6 +190,8 @@ Variables that Describe the System
/variable/MSVC_VERSION
/variable/UNIX
/variable/WIN32
+ /variable/WINDOWS_PHONE
+ /variable/WINDOWS_STORE
/variable/XCODE_VERSION
Variables that Control the Build
diff --git a/Help/variable/WINDOWS_PHONE.rst b/Help/variable/WINDOWS_PHONE.rst
new file mode 100644
index 0000000..61d91b0
--- /dev/null
+++ b/Help/variable/WINDOWS_PHONE.rst
@@ -0,0 +1,5 @@
+WINDOWS_PHONE
+-------------
+
+True when the :variable:`CMAKE_SYSTEM_NAME` variable is set
+to ``WindowsPhone``.
diff --git a/Help/variable/WINDOWS_STORE.rst b/Help/variable/WINDOWS_STORE.rst
new file mode 100644
index 0000000..dae3b53
--- /dev/null
+++ b/Help/variable/WINDOWS_STORE.rst
@@ -0,0 +1,5 @@
+WINDOWS_STORE
+-------------
+
+True when the :variable:`CMAKE_SYSTEM_NAME` variable is set
+to ``WindowsStore``.