8 lines
313 B
CMake
8 lines
313 B
CMake
IF(CMAKE_COMPILER_IS_GNUG77)
|
|
SET (CMAKE_FORTRAN_FLAGS_INIT "")
|
|
SET (CMAKE_FORTRAN_FLAGS_DEBUG_INIT "-g")
|
|
SET (CMAKE_FORTRAN_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
|
|
SET (CMAKE_FORTRAN_FLAGS_RELEASE_INIT "-O3 -DNDEBUG")
|
|
SET (CMAKE_FORTRAN_FLAGS_RELWITHDEBINFO_INIT "-O2 -g")
|
|
ENDIF(CMAKE_COMPILER_IS_GNUG77)
|