diff options
author | Alexander Neundorf <neundorf@kde.org> | 2006-05-16 16:54:31 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2006-05-16 16:54:31 +0000 |
commit | 6647ff1200e2493e4dffd898c17c953fec3483a6 (patch) | |
tree | 14e48ef6b7796f6cf9f8d990b2443816053e693c /modules/CheckStructMember.cmake | |
parent | 0a4c9a0fd6ddf1031be60510530f9d23838cdd81 (diff) | |
download | extra-cmake-modules-6647ff1200e2493e4dffd898c17c953fec3483a6.tar.gz extra-cmake-modules-6647ff1200e2493e4dffd898c17c953fec3483a6.tar.bz2 |
-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:kde-buildsystem@kde.org
svn path=/trunk/KDE/kdelibs/; revision=541576
Diffstat (limited to 'modules/CheckStructMember.cmake')
0 files changed, 0 insertions, 0 deletions