Package configuration data.
This module provides the necessary procedure to translate a TOML document to the corresponding Fortran type, while verifying it with respect to its schema.
Additionally, the required data types for users of this module are reexported to hide the actual implementation details.
Populate test in case we find the default example/ directory
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(example_config_t), | intent(out) | :: | self |
Instance of the executable meta data |
||
| character(len=*), | intent(in) | :: | name |
Name of the package |
Populate executable in case we find the default app directory
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(executable_config_t), | intent(out) | :: | self |
Instance of the executable meta data |
||
| character(len=*), | intent(in) | :: | name |
Name of the package |
Populate library in case we find the default src directory
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(library_config_t), | intent(out) | :: | self |
Instance of the library meta data |
Populate test in case we find the default test/ directory
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(test_config_t), | intent(out) | :: | self |
Instance of the executable meta data |
||
| character(len=*), | intent(in) | :: | name |
Name of the package |
Obtain package meta data from a configuation file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(package_config_t), | intent(out) | :: | package |
Parsed package meta data |
||
| character(len=*), | intent(in) | :: | file |
Name of the package configuration file |
||
| type(error_t), | intent(out), | allocatable | :: | error |
Error status of the operation |
|
| logical, | intent(in), | optional | :: | apply_defaults |
Apply package defaults (uses file system operations) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(package_config_t), | intent(in) | :: | package |
Parsed package meta data |
||
| logical, | intent(in) | :: | main |
Is the main project |
||
| type(dependency_config_t), | intent(out), | allocatable | :: | deps(:) |
Unprocessed list of all dependencies listed in this manifest |