build_config_t Derived Type

type, public :: build_config_t

Configuration data for build


Contents

Source Code


Components

TypeVisibility AttributesNameInitial
logical, public :: auto_examples

Automatic discovery of examples

logical, public :: auto_executables

Automatic discovery of executables

logical, public :: auto_tests

Automatic discovery of tests

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

External modules to use

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

Libraries to link against


Type-Bound Procedures

procedure, public :: info

Print information on this instance

  • private subroutine info(self, unit, verbosity)

    Write information on build configuration instance

    Arguments

    Type IntentOptional AttributesName
    class(build_config_t), intent(in) :: self

    Instance of the build configuration

    integer, intent(in) :: unit

    Unit for IO

    integer, intent(in), optional :: verbosity

    Verbosity of the printout

Source Code

    type :: build_config_t

        !> Automatic discovery of executables
        logical :: auto_executables

        !> Automatic discovery of examples
        logical :: auto_examples

        !> Automatic discovery of tests
        logical :: auto_tests

        !> Libraries to link against
        type(string_t), allocatable :: link(:)

        !> External modules to use
        type(string_t), allocatable :: external_modules(:)

    contains

        !> Print information on this instance
        procedure :: info

    end type build_config_t