|
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
|