SWIFTC.rst 509 B

12345678910111213
  1. SWIFTC
  2. ------
  3. .. versionadded:: 3.15
  4. .. include:: ENV_VAR.txt
  5. Preferred executable for compiling ``Swift`` language files. Will only be used by
  6. CMake on the first configuration to determine ``Swift`` compiler, after which the
  7. value for ``SWIFTC`` is stored in the cache as
  8. :variable:`CMAKE_Swift_COMPILER <CMAKE_<LANG>_COMPILER>`. For any configuration run
  9. (including the first), the environment variable will be ignored if the
  10. :variable:`CMAKE_Swift_COMPILER <CMAKE_<LANG>_COMPILER>` variable is defined.