summaryrefslogtreecommitdiff
path: root/share/cmake-3.17/Help/envvar/SWIFTC.rst
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.17/Help/envvar/SWIFTC.rst')
-rw-r--r--share/cmake-3.17/Help/envvar/SWIFTC.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/share/cmake-3.17/Help/envvar/SWIFTC.rst b/share/cmake-3.17/Help/envvar/SWIFTC.rst
new file mode 100644
index 0000000..b12e51d
--- /dev/null
+++ b/share/cmake-3.17/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.