[Cmake-commits] [cmake-commits] king committed G95-Fortran.cmake NONE 1.1

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


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

Added Files:
	G95-Fortran.cmake 
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.


--- NEW FILE: G95-Fortran.cmake ---
set(CMAKE_Fortran_FLAGS_INIT "")
set(CMAKE_Fortran_FLAGS_DEBUG_INIT "-g")
set(CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "-Os")
set(CMAKE_Fortran_FLAGS_RELEASE_INIT "-O3")
set(CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "-O2 -g")
set(CMAKE_Fortran_MODDIR_FLAG "-fmod=")
set(CMAKE_Fortran_VERBOSE_FLAG "-v")



More information about the Cmake-commits mailing list