fpm_manifest_executable Module

Implementation of the meta data for an executables.

An executable table can currently have the following fields

[[ executable ]]
name = "string"
source-dir = "path"
main = "file"
link = ["lib"]


Derived Types

type, public ::  executable_config_t

Configuation meta data for an executable


Type Visibility Attributes Name Initial
type(dependency_config_t), public, allocatable :: dependency(:)

Dependency meta data for this executable

type(string_t), public, allocatable :: link(:)

Libraries to link against

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

Name of the source file declaring the main program

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

Name of the resulting executable

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

Source directory for collecting the executable

Type-Bound Procedures

procedure , public , :: info Subroutine

Print information on this instance


public subroutine new_executable(self, table, error)

Construct a new executable configuration from a TOML data structure


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

Instance of the executable configuration

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

Instance of the TOML data structure

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

Error handling