SVN commit 541576 by neundorf: -a new cmake module which contains two macros:
MACRO_LOG_FEATURE(VAR FEATURE DESCRIPTION URL) Logs the information so that it can be displayed at the end of the configure run VAR : variable which is TRUE or FALSE indicating whether the feature is supported FEATURE: name of the feature, e.g. "libjpeg" DESCRIPTION: description what this feature provides URL: home page MACRO_DISPLAY_FEATURE_LOG() Call this at the end of the toplevel CMakeLists.txt to display the collected results Example: INCLUDE(MacroLogFeature) FIND_PACKAGE(JPEG) MACRO_LOG_FEATURE(JPEG_FOUND "libjpeg" "Support JPEG images" "http://www.ijg.org") ... MACRO_DISPLAY_FEATURE_LOG() Alex CCMAIL:[email protected] A MacroLogFeature.cmake _______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
