mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 22:58:41 +00:00
83816cc6ec
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.
8 lines
296 B
CMake
8 lines
296 B
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")
|