aboutsummaryrefslogtreecommitdiff
path: root/modules/MacroLogFeature.cmake
AgeCommit message (Collapse)Author
2006-07-04make the last three options of macro_log_feature() optional, so kdenetwork ↵Alexander Neundorf
configures Alex svn path=/trunk/KDE/kdelibs/; revision=558140
2006-06-24now handles required packages. also supports minimum_version and comments ↵Allen Winter
fields. approved by aleXXX. svn path=/trunk/KDE/kdelibs/; revision=554598
2006-05-16-a new cmake module which contains two macros:Alexander Neundorf
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:kde-buildsystem@kde.org svn path=/trunk/KDE/kdelibs/; revision=541576