blob: f17dec7d59c9dd08427d32d47aec50e31016b4f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
include(Compiler/Clang)
__compiler_clang(Fortran)
set(CMAKE_Fortran_PREPROCESS_SOURCE
"<CMAKE_Fortran_COMPILER> -cpp <DEFINES> <INCLUDES> <FLAGS> -E <SOURCE> -o <PREPROCESSED_SOURCE>")
set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-ffixed-form")
set(CMAKE_Fortran_FORMAT_FREE_FLAG "-ffree-form")
string(APPEND CMAKE_Fortran_FLAGS_DEBUG_INIT " -fbounds-check")
set(CMAKE_Fortran_MODDIR_FLAG "-J")
|