active_profile Function

private pure function active_profile(settings) result(p)

Return the active build profile for banner display.

Arguments

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

Return Value character(len=:), allocatable


Calls

proc~~active_profile~~CallsGraph proc~active_profile active_profile proc~trim_or_default trim_or_default proc~active_profile->proc~trim_or_default

Called by

proc~~active_profile~~CalledByGraph proc~active_profile active_profile proc~print_banner print_banner proc~print_banner->proc~active_profile 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_profile(settings) result(p)
      class(fpm_build_settings), intent(in) :: settings
      character(len=:), allocatable :: p
      p = trim_or_default(settings%profile, "default")
   end function active_profile