summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/Fujitsu-Fortran.cmake
blob: 0f687bc21b7573ff6fefcb12e6414ead5f450aa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
include(Compiler/Fujitsu)
__compiler_fujitsu(Fortran)

set(CMAKE_Fortran_SUBMODULE_SEP ".")
set(CMAKE_Fortran_SUBMODULE_EXT ".smod")

set(CMAKE_Fortran_PREPROCESS_SOURCE
  "<CMAKE_Fortran_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -Cpp -E <SOURCE> > <PREPROCESSED_SOURCE>")
set(CMAKE_Fortran_COMPILE_OPTIONS_PREPROCESS_ON "-Cpp")

set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-Fixed")
set(CMAKE_Fortran_FORMAT_FREE_FLAG "-Free")

string(APPEND CMAKE_Fortran_FLAGS_DEBUG_INIT "")

set(CMAKE_Fortran_MODDIR_FLAG "-M ")