cmake/Modules/Compiler/PGI-Fortran.cmake

17 lines
537 B
CMake
Raw Normal View History

2010-03-17 14:00:29 +02:00
include(Compiler/PGI)
__compiler_pgi(Fortran)
2019-11-11 23:01:05 +01:00
set(CMAKE_Fortran_SUBMODULE_SEP "-")
set(CMAKE_Fortran_SUBMODULE_EXT ".mod")
2017-04-14 19:02:05 +02:00
set(CMAKE_Fortran_PREPROCESS_SOURCE
"<CMAKE_Fortran_COMPILER> -Mpreprocess <DEFINES> <INCLUDES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
2020-08-30 11:54:41 +02:00
set(CMAKE_Fortran_COMPILE_OPTIONS_PREPROCESS_ON "-Mpreprocess")
2017-04-14 19:02:05 +02:00
2012-02-18 12:40:36 +02:00
set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-Mnofreeform")
set(CMAKE_Fortran_FORMAT_FREE_FLAG "-Mfreeform")
2016-10-30 18:24:19 +01:00
string(APPEND 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 ")