fpm_manifest_fortran Module



Derived Types

type, public, extends(serializable_t) ::  fortran_config_t

Configuration data for Fortran

Components

Type Visibility Attributes Name Initial
logical, public :: implicit_external = .false.

Enable implicit external interfaces

logical, public :: implicit_typing = .false.

Enable default implicit typing

character(len=:), public, allocatable :: source_form

Form to use for all Fortran sources

Type-Bound Procedures

generic, public :: dump => dump_to_toml, dump_to_file, dump_to_unit
procedure, public :: dump_to_toml
generic, public :: load => load_from_toml, load_from_file, load_from_unit
procedure, public :: load_from_toml
generic, public :: operator(==) => serializable_is_same
procedure, public :: serializable_is_same => fortran_is_same ../../

Serialization interface

procedure, public, non_overridable :: test_serialization ../../

Test load/write roundtrip


Subroutines

public subroutine new_fortran_config(self, table, error)

Construct a new build configuration from a TOML data structure

Arguments

Type IntentOptional Attributes Name
type(fortran_config_t), intent(out) :: self

Instance of the fortran configuration

type(toml_table), intent(inout) :: table

Instance of the TOML data structure

type(error_t), intent(out), allocatable :: error

Error handling