fpm Module



Subroutines

public subroutine build_model(model, settings, package, error)

Constructs a valid fpm model from command line settings and the toml manifest. Add this dependency’s manifest macros

Read more…

Arguments

Type IntentOptional Attributes Name
type(fpm_model_t), intent(out) :: model
class(fpm_build_settings), intent(inout) :: settings
type(package_config_t), intent(inout) :: package
type(error_t), intent(out), allocatable :: error

public subroutine check_modules_for_duplicates(model, duplicates_found)

Arguments

Type IntentOptional Attributes Name
type(fpm_model_t), intent(in) :: model
logical :: duplicates_found

public subroutine cmd_build(settings)

Dump model to file

Arguments

Type IntentOptional Attributes Name
type(fpm_build_settings), intent(inout) :: settings

public subroutine cmd_clean(settings)

Delete the build directory including or excluding dependencies. Can be used to clear the registry cache.

Arguments

Type IntentOptional Attributes Name
class(fpm_clean_settings), intent(in) :: settings

Settings for the clean command.

public subroutine cmd_run(settings, test)

Arguments

Type IntentOptional Attributes Name
class(fpm_run_settings), intent(inout) :: settings
logical, intent(in) :: test