Imported Upstream version 3.24.0
[platform/upstream/cmake.git] / Modules / Compiler / LLVMFlang-Fortran.cmake
1 set(CMAKE_Fortran_SUBMODULE_SEP "-")
2 set(CMAKE_Fortran_SUBMODULE_EXT ".mod")
3
4 set(CMAKE_Fortran_PREPROCESS_SOURCE
5     "<CMAKE_Fortran_COMPILER> -cpp <DEFINES> <INCLUDES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
6
7 set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-ffixed-form")
8 set(CMAKE_Fortran_FORMAT_FREE_FLAG "-ffree-form")
9
10 set(CMAKE_Fortran_MODDIR_FLAG "-module-dir")
11
12 set(CMAKE_Fortran_COMPILE_OPTIONS_PREPROCESS_ON "-cpp")
13 set(CMAKE_Fortran_COMPILE_OPTIONS_PREPROCESS_OFF "-nocpp")