1FC
2--
3
4.. include:: ENV_VAR.txt
5
6Preferred executable for compiling ``Fortran`` language files. Will only be used
7by CMake on the first configuration to determine ``Fortran`` compiler, after
8which the value for ``Fortran`` is stored in the cache as
9:variable:`CMAKE_Fortran_COMPILER <CMAKE_<LANG>_COMPILER>`. For any
10configuration run (including the first), the environment variable will be
11ignored if the :variable:`CMAKE_Fortran_COMPILER <CMAKE_<LANG>_COMPILER>`
12variable is defined.
13
14.. note::
15  Options that are required to make the compiler work correctly can be included;
16  they can not be changed.
17
18.. code-block:: console
19
20  $ export FC="custom-compiler --arg1 --arg2"
21