Create a new dependency tree
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dependency_tree_t), | intent(out) | :: | self |
Instance of the dependency tree |
||
integer, | intent(in), | optional | :: | verbosity |
Verbosity of printout |
|
character(len=*), | intent(in), | optional | :: | cache |
Name of the cache file |
subroutine new_dependency_tree(self, verbosity, cache)
!> Instance of the dependency tree
type(dependency_tree_t), intent(out) :: self
!> Verbosity of printout
integer, intent(in), optional :: verbosity
!> Name of the cache file
character(len=*), intent(in), optional :: cache
call resize(self%dep)
self%dep_dir = join_path("build", "dependencies")
if (present(verbosity)) self%verbosity = verbosity
if (present(cache)) self%cache = cache
end subroutine new_dependency_tree