active_features Function

private pure function active_features(settings) result(f)

Return a comma-separated feature list for banner display.

Arguments

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

Return Value character(len=:), allocatable


Calls

proc~~active_features~~CallsGraph proc~active_features active_features proc~join_csv join_csv proc~active_features->proc~join_csv

Called by

proc~~active_features~~CalledByGraph proc~active_features active_features proc~print_banner print_banner proc~print_banner->proc~active_features proc~rebuild_watch_list rebuild_watch_list proc~rebuild_watch_list->proc~print_banner proc~handle_manifest_change handle_manifest_change proc~handle_manifest_change->proc~rebuild_watch_list proc~watcher_init watcher_t%watcher_init proc~watcher_init->proc~rebuild_watch_list proc~watcher_run watcher_t%watcher_run proc~watcher_run->proc~rebuild_watch_list proc~watcher_run->proc~handle_manifest_change

Source Code

   pure function active_features(settings) result(f)
      class(fpm_build_settings), intent(in) :: settings
      character(len=:), allocatable :: f
      if (allocated(settings%features)) then
         f = join_csv(settings%features, "(none)")
      else
         f = "(none)"
      end if
   end function active_features