fpm_manifest_install Module

Implementation of the installation configuration.

An install table can currently have the following fields

library = bool


Derived Types

type, public, extends(serializable_t) ::  install_config_t

Configuration data for installation

Components

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

Install library with this project

Type-Bound Procedures

generic, public :: dump => dump_to_toml, dump_to_file, dump_to_unit
procedure, public :: dump_to_toml
procedure, public :: info ../../

Print information on this instance

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 => install_conf_same ../../

Serialization interface

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

Test load/write roundtrip


Subroutines

public subroutine new_install_config(self, table, error)

Create a new installation configuration from a TOML data structure

Arguments

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

Instance of the install configuration

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

Instance of the TOML data structure

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

Error handling