fpm_run_settings Derived Type

type, public, extends(fpm_build_settings) :: fpm_run_settings


Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: archiver
character(len=:), public, allocatable :: args
logical, public :: build_tests = .false.
character(len=:), public, allocatable :: c_compiler
character(len=:), public, allocatable :: cflag
character(len=:), public, allocatable :: compiler
character(len=:), public, allocatable :: cxx_compiler
character(len=:), public, allocatable :: cxxflag
character(len=:), public, allocatable :: dump
logical, public :: example
character(len=:), public, allocatable :: flag
character(len=:), public, allocatable :: ldflag
logical, public :: list = .false.
character(len=ibug), public, allocatable :: name(:)
character(len=:), public, allocatable :: profile
logical, public :: prune = .true.
character(len=:), public, allocatable :: runner
character(len=:), public, allocatable :: runner_args
logical, public :: show_model = .false.
logical, public :: verbose = .true.
character(len=:), public, allocatable :: working_dir

Type-Bound Procedures

procedure, public :: name_ID

  • private function name_ID(cmd, name)

    Check name in list ID. return 0 if not found Default: not found

    Arguments

    Type IntentOptional Attributes Name
    class(fpm_run_settings), intent(in) :: cmd
    character(len=*), intent(in) :: name

    Return Value integer

procedure, public :: runner_command

  • private function runner_command(cmd) result(run_cmd)

    Build a full runner command (executable + command-line arguments) Get executable Append command-line arguments

    Arguments

    Type IntentOptional Attributes Name
    class(fpm_run_settings), intent(in) :: cmd

    Return Value character(len=:), allocatable