library_config_t Derived Type

type, public :: library_config_t

Configuration meta data for a library


Source Code


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

Print information on this instance

  • private subroutine info(self, unit, verbosity)

    Write information on instance


    Type IntentOptional Attributes Name
    class(library_config_t), intent(in) :: self

    Instance of the library configuration

    integer, intent(in) :: unit

    Unit for IO

    integer, intent(in), optional :: verbosity

    Verbosity of the printout

Source Code

    type :: library_config_t

        !> Source path prefix
        character(len=:), allocatable :: source_dir

        !> Include path prefix
        type(string_t), allocatable :: include_dir(:)

        !> Alternative build script to be invoked
        character(len=:), allocatable :: build_script


        !> Print information on this instance
        procedure :: info

    end type library_config_t