Please review: cmake check for Cagibi

Yury G. Kudryashov urkud at ya.ru
Tue Aug 24 01:24:33 CEST 2010


Friedrich W. H. Kossebau wrote:

> Hi,
> 
> following up to my and your emails on "How to test for a D-Bus run-time
> dependency?" last tuesday here please find and then comment on my proposal
> to test for the existance of cagibi during the build, so there is some
> hint at every build of kdebase on this optional dependency.
I'd mention explicitly that cagibi is a run-time dependency in 
macro_log_feature.
Something like
macro_log_feature( CAGIBI_FOUND
"Cagibi" "SSDP (Simple Service Discovery Protocol, used by UPnP) cache/proxy 
daemon" "http://websvn.kde.org/trunk/kdesupport/cagibi/" FALSE
  ${CAGIBI_MIN_VERSION} "Runtime dependency that provides UPnP 
device/service listing in the network:/ kioslave."

BTW, what about adding one more parameter to m_l_f that tells whether 
dependency is a runtime dep (default to FALSE)? Or even add another macro 
because "required" flag MUST be FALSE for runtime dependencies? Then we'll 
be able to say:
== THE FOLLOWING RUNTIME DEPENDENCIES ARE MISSING ON YOUR SYSTEM ==



More information about the Kde-buildsystem mailing list