fpm_manifest_library Module

Implementation of the meta data for libraries.

A library table can currently have the following fields

[library]
source-dir = "path"
include-dir = ["path1","path2"]
build-script = "file"


Contents


Derived Types

type, public ::  library_config_t

Configuration meta data for a library

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: build_script

Alternative build script to be invoked

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

Include path prefix

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

Source path prefix

Type-Bound Procedures

procedure , public , :: info Subroutine

Print information on this instance


Subroutines

public subroutine new_library(self, table, error)

Construct a new library configuration from a TOML data structure

Arguments

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

Instance of the library configuration

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

Instance of the TOML data structure

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

Error handling