summaryrefslogtreecommitdiffstats
path: root/Help/generator/Xcode.rst
diff options
context:
space:
mode:
authorNikita Nemkin <nikita@nemkin.ru>2020-11-10 21:48:05 (GMT)
committerNikita Nemkin <nikita@nemkin.ru>2020-11-12 04:45:10 (GMT)
commitc43e845d0904dce126a3de31d7a903eab39a989a (patch)
treeeede43917b3e23d6f341ee501c191afae5130fdf /Help/generator/Xcode.rst
parentf6fd769ae91accd6b54400b79ec797a3870cc87a (diff)
downloadCMake-c43e845d0904dce126a3de31d7a903eab39a989a.zip
CMake-c43e845d0904dce126a3de31d7a903eab39a989a.tar.gz
CMake-c43e845d0904dce126a3de31d7a903eab39a989a.tar.bz2
Help: Add `.. versionadded` directives to generator docs
More `.. versionadded` could be added later when the features, variables and properties relevant to each generator are properly documented. Issue: #19715
Diffstat (limited to 'Help/generator/Xcode.rst')
-rw-r--r--Help/generator/Xcode.rst15
1 files changed, 13 insertions, 2 deletions
diff --git a/Help/generator/Xcode.rst b/Help/generator/Xcode.rst
index be03a22..e4900a1 100644
--- a/Help/generator/Xcode.rst
+++ b/Help/generator/Xcode.rst
@@ -3,7 +3,8 @@ Xcode
Generate Xcode project files.
-This supports Xcode 5.0 and above.
+.. versionchanged:: 3.15
+ This generator supports Xcode 5.0 and above.
.. _`Xcode Build System Selection`:
@@ -14,7 +15,8 @@ By default Xcode is allowed to select its own default toolchain.
The :variable:`CMAKE_GENERATOR_TOOLSET` option may be set, perhaps
via the :manual:`cmake(1)` ``-T`` option, to specify another toolset.
-This generator supports toolset specification using one of these forms:
+.. versionadded:: 3.19
+ This generator supports toolset specification using one of these forms:
* ``toolset``
* ``toolset[,key=value]*``
@@ -33,3 +35,12 @@ Supported pairs are:
For example, to select the original build system under Xcode 12,
run :manual:`cmake(1)` with the option ``-T buildsystem=1``.
+
+Swift Support
+^^^^^^^^^^^^^
+
+.. versionadded:: 3.4
+
+When using the :generator:`Xcode` generator with Xcode 6.1 or higher,
+one may enable the ``Swift`` language with the :command:`enable_language`
+command or the :command:`project`.