summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorRuslan Baratov <ruslan_baratov@yahoo.com>2019-03-01 18:08:03 (GMT)
committerBrad King <brad.king@kitware.com>2019-03-05 14:42:41 (GMT)
commite427c7c1d8077cad009f84eca9186efc584ac297 (patch)
tree90f0edc70623f89a6667815f35c17e1266d37c05 /Help
parent20a41aa589d4418f9ac46fc8c0402162d1d82873 (diff)
downloadCMake-e427c7c1d8077cad009f84eca9186efc584ac297.zip
CMake-e427c7c1d8077cad009f84eca9186efc584ac297.tar.gz
CMake-e427c7c1d8077cad009f84eca9186efc584ac297.tar.bz2
iOS: Add IOS variable
Since commit 11da882a12 (Apple: Introduce separate system name for iOS, tvOS, and watchOS, 2018-01-15, v3.14.0-rc1~14^2~1) we support setting `CMAKE_SYSTEM_NAME` to `iOS`. Existing iOS toolchain files already set `IOS` as a short-hand variable, so do the same here.
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-variables.7.rst1
-rw-r--r--Help/variable/IOS.rst4
2 files changed, 5 insertions, 0 deletions
diff --git a/Help/manual/cmake-variables.7.rst b/Help/manual/cmake-variables.7.rst
index 83c88a5..7609597 100644
--- a/Help/manual/cmake-variables.7.rst
+++ b/Help/manual/cmake-variables.7.rst
@@ -259,6 +259,7 @@ Variables that Describe the System
/variable/CMAKE_SYSTEM_VERSION
/variable/CYGWIN
/variable/GHS-MULTI
+ /variable/IOS
/variable/MINGW
/variable/MSVC
/variable/MSVC10
diff --git a/Help/variable/IOS.rst b/Help/variable/IOS.rst
new file mode 100644
index 0000000..e5cc3f6
--- /dev/null
+++ b/Help/variable/IOS.rst
@@ -0,0 +1,4 @@
+IOS
+---
+
+Set to ``1`` when the target system (:variable:`CMAKE_SYSTEM_NAME`) is ``iOS``.