ENH: move EstimateFormatLength to kwsys
[cmake.git] / Modules / CMakeFortranCompiler.cmake.in
blobf5267763784a4e43a52998d79a1cd1eda22b102c
1 SET(CMAKE_Fortran_COMPILER "@CMAKE_Fortran_COMPILER@")
2 SET(CMAKE_AR "@CMAKE_AR@")
3 SET(CMAKE_RANLIB "@CMAKE_RANLIB@")
4 SET(CMAKE_COMPILER_IS_GNUG77 @CMAKE_COMPILER_IS_GNUG77@)
5 SET(CMAKE_Fortran_COMPILER_LOADED 1)
6 SET(CMAKE_COMPILER_IS_MINGW @CMAKE_COMPILER_IS_MINGW@)
7 SET(CMAKE_COMPILER_IS_CYGWIN @CMAKE_COMPILER_IS_CYGWIN@)
8 IF(CMAKE_COMPILER_IS_CYGWIN)
9   SET(CYGWIN 1)
10   SET(UNIX 1)
11 ENDIF(CMAKE_COMPILER_IS_CYGWIN)
13 IF(CMAKE_COMPILER_IS_MINGW)
14   SET(MINGW 1)
15 ENDIF(CMAKE_COMPILER_IS_MINGW)
16 SET(CMAKE_COMPILER_IS_GNUG77_RUN 1)
17 SET(CMAKE_Fortran_SOURCE_FILE_EXTENSIONS f;F;f77;f90;for;f95)
18 SET(CMAKE_Fortran_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
19 SET(CMAKE_Fortran_LINKER_PREFERENCE Prefered)
20 IF(UNIX)
21   SET(CMAKE_Fortran_OUTPUT_EXTENSION .o)
22 ELSE(UNIX)
23   SET(CMAKE_Fortran_OUTPUT_EXTENSION .obj)
24 ENDIF(UNIX)
25 SET(CMAKE_Fortran_COMPILER_ENV_VAR "FC")