summaryrefslogtreecommitdiffstats
path: root/Help/envvar/FC.rst
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2017-09-27 13:01:06 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-09-27 13:01:35 (GMT)
commita2eec58dfa94d8c2994c70815c12eba3cf467907 (patch)
treea955b5c99e9f0cc566562d568d2dc342dc1f97d7 /Help/envvar/FC.rst
parent825baaa1b3698c40ac349f4d2daa45277e64397e (diff)
parente6b77c5f1a918b3b33457eca0590d0ff3840c08f (diff)
downloadCMake-a2eec58dfa94d8c2994c70815c12eba3cf467907.zip
CMake-a2eec58dfa94d8c2994c70815c12eba3cf467907.tar.gz
CMake-a2eec58dfa94d8c2994c70815c12eba3cf467907.tar.bz2
Merge topic 'document_env_variables'
e6b77c5f Help: Document CMake's environment variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1235
Diffstat (limited to 'Help/envvar/FC.rst')
-rw-r--r--Help/envvar/FC.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Help/envvar/FC.rst b/Help/envvar/FC.rst
new file mode 100644
index 0000000..7d293fd
--- /dev/null
+++ b/Help/envvar/FC.rst
@@ -0,0 +1,10 @@
+FC
+--
+
+Preferred executable for compiling ``Fortran`` language files. Will only be used
+by CMake on the first configuration to determine ``Fortran`` compiler, after
+which the value for ``Fortran`` is stored in the cache as
+:variable:`CMAKE_Fortran_COMPILER <CMAKE_<LANG>_COMPILER>`. For any
+configuration run (including the first), the environment variable will be
+ignored if the :variable:`CMAKE_Fortran_COMPILER <CMAKE_<LANG>_COMPILER>`
+variable is defined.