[Cmake-commits] [cmake-commits] king committed CMakeFortranCompilerId.F.in 1.4 1.5

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Oct 23 08:25:44 EDT 2009


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv19091/Modules

Modified Files:
	CMakeFortranCompilerId.F.in 
Log Message:
Add support for the g95 Fortran compiler

This commit teaches CMake about the g95 compiler from

  http://www.g95.org

We use 'G95' as the compiler id string, and add some basic flags.

See issue #9241.


Index: CMakeFortranCompilerId.F.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CMakeFortranCompilerId.F.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -C 2 -d -r1.4 -r1.5
*** CMakeFortranCompilerId.F.in	7 Aug 2009 14:13:04 -0000	1.4
--- CMakeFortranCompilerId.F.in	23 Oct 2009 12:25:42 -0000	1.5
***************
*** 7,10 ****
--- 7,12 ----
  #elif defined(__SUNPRO_F90) || defined(__SUNPRO_F95)
          PRINT *, 'INFO:compiler[SunPro]'
+ #elif defined(__G95__)
+         PRINT *, 'INFO:compiler[G95]'
  #elif defined(__GNUC__)
          PRINT *, 'INFO:compiler[GNU]'



More information about the Cmake-commits mailing list