diff --git a/meson.build b/meson.build index 4c8d9b4a..bc65f752 100644 --- a/meson.build +++ b/meson.build @@ -166,3 +166,8 @@ if build_clapper summary(name, clapper_available_features.contains(name) ? 'Yes' : 'No', section: 'Features') endforeach endif +if build_clapperapp + foreach name : clapperapp_possible_functionalities + summary(name, clapperapp_available_functionalities.contains(name) ? 'Yes' : 'No', section: 'Functionalities') + endforeach +endif diff --git a/src/bin/clapper-app/meson.build b/src/bin/clapper-app/meson.build index 8d8d7a5f..b08baa4c 100644 --- a/src/bin/clapper-app/meson.build +++ b/src/bin/clapper-app/meson.build @@ -94,12 +94,18 @@ clapperapp_c_args = [ '-DGST_USE_UNSTABLE_API', ] +clapperapp_possible_functionalities = [ + 'pipeline-preview', +] +clapperapp_available_functionalities = [] + pp_option = get_option('pipeline-preview') if not pp_option.disabled() if cgraph_dep.found() and gvc_dep.found() clapperapp_c_args += ['-DHAVE_GRAPHVIZ'] clapperapp_deps += [cgraph_dep, gvc_dep] + clapperapp_available_functionalities += 'pipeline-preview' elif pp_option.enabled() error('pipeline-preview option was enabled, but required dependencies were not found') endif