cmake/Modules/Compiler/PGI-Fortran.cmake

11 lines
353 B
CMake
Raw Normal View History

2010-03-17 14:00:29 +02:00
include(Compiler/PGI)
__compiler_pgi(Fortran)
2012-02-18 12:40:36 +02:00
set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-Mnofreeform")
set(CMAKE_Fortran_FORMAT_FREE_FLAG "-Mfreeform")
2013-03-16 19:13:01 +02:00
set(CMAKE_Fortran_FLAGS_INIT "${CMAKE_Fortran_FLAGS_INIT} -Mpreprocess -Kieee")
set(CMAKE_Fortran_FLAGS_DEBUG_INIT "${CMAKE_Fortran_FLAGS_DEBUG_INIT} -Mbounds")
2010-03-17 14:00:29 +02:00
2013-03-16 19:13:01 +02:00
set(CMAKE_Fortran_MODDIR_FLAG "-module ")