Intel-Fortran.cmake 712 B

1234567891011121314151617
  1. include(Compiler/Intel)
  2. __compiler_intel(Fortran)
  3. set(CMAKE_Fortran_SUBMODULE_SEP "@")
  4. set(CMAKE_Fortran_SUBMODULE_EXT ".smod")
  5. set(CMAKE_Fortran_MODDIR_FLAG "-module ")
  6. set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-fixed")
  7. set(CMAKE_Fortran_FORMAT_FREE_FLAG "-free")
  8. set(CMAKE_Fortran_COMPILE_WITH_DEFINES 1)
  9. set(CMAKE_Fortran_CREATE_PREPROCESSED_SOURCE "<CMAKE_Fortran_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
  10. set(CMAKE_Fortran_CREATE_ASSEMBLY_SOURCE "<CMAKE_Fortran_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")
  11. set(CMAKE_Fortran_PREPROCESS_SOURCE
  12. "<CMAKE_Fortran_COMPILER> -fpp <DEFINES> <INCLUDES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")