summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-08-27 14:57:14 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-08-27 14:57:26 (GMT)
commit613ac3e7d526d3874176e2b70eba342836a9b6b5 (patch)
tree811f26e34d1ccaa1ff7b97abc206f58e7d03e13c /Help
parentd16402ddc4948a2a26ccdb9377c04d525fcb4f97 (diff)
parent369c48ee437263a9702c8725f6e73bc4b9d0fe16 (diff)
downloadCMake-613ac3e7d526d3874176e2b70eba342836a9b6b5.zip
CMake-613ac3e7d526d3874176e2b70eba342836a9b6b5.tar.gz
CMake-613ac3e7d526d3874176e2b70eba342836a9b6b5.tar.bz2
Merge topic 'swift-version'
369c48ee43 Swift: honour `-swift-version` in Ninja generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3685
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-properties.7.rst1
-rw-r--r--Help/prop_tgt/Swift_LANGUAGE_VERSION.rst6
2 files changed, 7 insertions, 0 deletions
diff --git a/Help/manual/cmake-properties.7.rst b/Help/manual/cmake-properties.7.rst
index 62d23c7..def9700 100644
--- a/Help/manual/cmake-properties.7.rst
+++ b/Help/manual/cmake-properties.7.rst
@@ -316,6 +316,7 @@ Properties on Targets
/prop_tgt/STATIC_LIBRARY_OPTIONS
/prop_tgt/SUFFIX
/prop_tgt/Swift_DEPENDENCIES_FILE
+ /prop_tgt/Swift_LANGUAGE_VERSION
/prop_tgt/Swift_MODULE_DIRECTORY
/prop_tgt/Swift_MODULE_NAME
/prop_tgt/TYPE
diff --git a/Help/prop_tgt/Swift_LANGUAGE_VERSION.rst b/Help/prop_tgt/Swift_LANGUAGE_VERSION.rst
new file mode 100644
index 0000000..7579447
--- /dev/null
+++ b/Help/prop_tgt/Swift_LANGUAGE_VERSION.rst
@@ -0,0 +1,6 @@
+Swift_LANGUAGE_VERSION
+----------------------
+
+This property sets the language version for the Swift sources in the target. If
+one is not specified, it will default to ``<CMAKE_Swift_LANGUAGE_VERSION>`` if
+specified, otherwise it is the latest version supported by the compiler.