summaryrefslogtreecommitdiff
path: root/share/cmake-3.22/Help/variable/CMAKE_Swift_LANGUAGE_VERSION.rst
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.22/Help/variable/CMAKE_Swift_LANGUAGE_VERSION.rst')
-rw-r--r--share/cmake-3.22/Help/variable/CMAKE_Swift_LANGUAGE_VERSION.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/share/cmake-3.22/Help/variable/CMAKE_Swift_LANGUAGE_VERSION.rst b/share/cmake-3.22/Help/variable/CMAKE_Swift_LANGUAGE_VERSION.rst
new file mode 100644
index 0000000..fce6fa7
--- /dev/null
+++ b/share/cmake-3.22/Help/variable/CMAKE_Swift_LANGUAGE_VERSION.rst
@@ -0,0 +1,11 @@
+CMAKE_Swift_LANGUAGE_VERSION
+----------------------------
+
+.. versionadded:: 3.7
+
+Set to the Swift language version number. If not set, the oldest legacy
+version known to be available in the host Xcode version is assumed:
+
+* Swift ``4.0`` for Xcode 10.2 and above.
+* Swift ``3.0`` for Xcode 8.3 and above.
+* Swift ``2.3`` for Xcode 8.2 and below.