Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Modules / CMakeFortranCompiler.cmake.in
blob65cfda7a9113da84a5a2c11e8dec033dbd407ff6
1 SET(CMAKE_Fortran_COMPILER "@CMAKE_Fortran_COMPILER@")
2 SET(CMAKE_Fortran_COMPILER_ARG1 "@CMAKE_Fortran_COMPILER_ARG1@")
3 SET(CMAKE_Fortran_COMPILER_ID "@CMAKE_Fortran_COMPILER_ID@")
4 SET(CMAKE_Fortran_PLATFORM_ID "@CMAKE_Fortran_PLATFORM_ID@")
5 SET(CMAKE_AR "@CMAKE_AR@")
6 SET(CMAKE_RANLIB "@CMAKE_RANLIB@")
7 SET(CMAKE_COMPILER_IS_GNUG77 @CMAKE_COMPILER_IS_GNUG77@)
8 SET(CMAKE_Fortran_COMPILER_LOADED 1)
9 SET(CMAKE_COMPILER_IS_MINGW @CMAKE_COMPILER_IS_MINGW@)
10 SET(CMAKE_COMPILER_IS_CYGWIN @CMAKE_COMPILER_IS_CYGWIN@)
11 IF(CMAKE_COMPILER_IS_CYGWIN)
12   SET(CYGWIN 1)
13   SET(UNIX 1)
14 ENDIF(CMAKE_COMPILER_IS_CYGWIN)
16 SET(CMAKE_Fortran_COMPILER_ENV_VAR "FC")
18 IF(CMAKE_COMPILER_IS_MINGW)
19   SET(MINGW 1)
20 ENDIF(CMAKE_COMPILER_IS_MINGW)
21 SET(CMAKE_Fortran_COMPILER_ID_RUN 1)
22 SET(CMAKE_Fortran_SOURCE_FILE_EXTENSIONS f;F;f77;F77;f90;F90;for;For;FOR;f95;F95)
23 SET(CMAKE_Fortran_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
24 SET(CMAKE_Fortran_LINKER_PREFERENCE 20)
25 IF(UNIX)
26   SET(CMAKE_Fortran_OUTPUT_EXTENSION .o)
27 ELSE(UNIX)
28   SET(CMAKE_Fortran_OUTPUT_EXTENSION .obj)
29 ENDIF(UNIX)