PGI-Fortran.cmake 395 B

123456789101112
  1. include(Compiler/PGI)
  2. __compiler_pgi(Fortran)
  3. set(CMAKE_Fortran_PREPROCESS_SOURCE
  4. "<CMAKE_Fortran_COMPILER> -Mpreprocess <DEFINES> <INCLUDES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
  5. set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-Mnofreeform")
  6. set(CMAKE_Fortran_FORMAT_FREE_FLAG "-Mfreeform")
  7. string(APPEND CMAKE_Fortran_FLAGS_DEBUG_INIT " -Mbounds")
  8. set(CMAKE_Fortran_MODDIR_FLAG "-module ")