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 |
subroutine default_example(self, name)
!> Instance of the executable meta data
type(example_config_t), intent(out) :: self
!> Name of the package
character(len=*), intent(in) :: name
self%name = name // "-demo"
self%source_dir = "example"
self%main = "main.f90"
end subroutine default_example