summaryrefslogtreecommitdiffstats
path: root/Help/envvar
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2019-05-09 05:49:33 (GMT)
committerBrad King <brad.king@kitware.com>2019-05-16 18:41:05 (GMT)
commitd745551fb6311f5db6e8133df63a7fc410e8a68b (patch)
tree371700340b81286c8540009f3c884a9c853426d6 /Help/envvar
parent9a182c9e5b36ba68fc91b53e3d755c263ee3d0ef (diff)
downloadCMake-d745551fb6311f5db6e8133df63a7fc410e8a68b.zip
CMake-d745551fb6311f5db6e8133df63a7fc410e8a68b.tar.gz
CMake-d745551fb6311f5db6e8133df63a7fc410e8a68b.tar.bz2
Help: add some initial documentation for Swift support
Diffstat (limited to 'Help/envvar')
-rw-r--r--Help/envvar/SWIFTC.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Help/envvar/SWIFTC.rst b/Help/envvar/SWIFTC.rst
new file mode 100644
index 0000000..b12e51d
--- /dev/null
+++ b/Help/envvar/SWIFTC.rst
@@ -0,0 +1,11 @@
+SWIFTC
+------
+
+.. include:: ENV_VAR.txt
+
+Preferred executable for compiling ``Swift`` language files. Will only be used by
+CMake on the first configuration to determine ``Swift`` compiler, after which the
+value for ``SWIFTC`` is stored in the cache as
+:variable:`CMAKE_Swift_COMPILER <CMAKE_<LANG>_COMPILER>`. For any configuration run
+(including the first), the environment variable will be ignored if the
+:variable:`CMAKE_Swift_COMPILER <CMAKE_<LANG>_COMPILER>` variable is defined.